Something went wrong. Try again.
lol
Something went wrong. Try again.
831 B · 46 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ lib, buildPythonPackage, cached-property, chevron, fetchPypi, frozendict, pystache, pyyaml,}:
buildPythonPackage rec { pname = "genanki"; version = "0.13.1"; format = "setuptools";
src = fetchPypi { inherit pname version; hash = "sha256-hNCQQjqIeVIEZb/peECD7ay4014rpRH6Whve8B2Pce0="; };
propagatedBuildInputs = [ cached-property chevron frozendict pystache pyyaml ];
postPatch = '' substituteInPlace setup.py \ --replace "'pytest-runner'," "" '';
# relies on upstream anki doCheck = false;
pythonImportsCheck = [ "genanki" ];
meta = { description = "Generate Anki decks programmatically"; homepage = "https://github.com/kerrickstaley/genanki"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ teto ]; };}