I made a new digital logic library for fun.
It is pretty small right now. It has only AND,XOR,OR,NOR components. But using those components you could build any circuit.
The library could be easily extended to add NAND,NOR,...etc. However, components that have multiple outputs could have a problem.