Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
891 B · 50 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ lib, buildPythonPackage, cached-property, chevron, fetchPypi, frozendict, pystache, pythonOlder, pyyaml}:
buildPythonPackage rec { pname = "genanki"; version = "0.13.0"; format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi { inherit pname version; sha256 = "bfacdcadd7903ed6afce6168e1977e473b431677b358f8fd42e80b48cedd19ab"; };
propagatedBuildInputs = [ cached-property chevron frozendict pystache pyyaml ];
postPatch = '' substituteInPlace setup.py \ --replace "'pytest-runner'," "" '';
# relies on upstream anki doCheck = false;
pythonImportsCheck = [ "genanki" ];
meta = with lib; { description = "Generate Anki decks programmatically"; homepage = "https://github.com/kerrickstaley/genanki"; license = licenses.mit; maintainers = with maintainers; [ teto ]; };}