linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / citeproc-py / default.nix
blobbd1ae0c563a4fe275c68d9380ccbde024b65f975
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , nose
5 , git
6 , lxml
7 , rnc2rng
8 }:
10 buildPythonPackage rec {
11   pname = "citeproc-py";
12   version = "0.5.1";
14   src = fetchPypi {
15     inherit pname version;
16     sha256 = "00aaff50jy4j0nakdzq9258z1gzrac9baarli2ymgspj88jg5968";
17   };
19   buildInputs = [ rnc2rng ];
21   propagatedBuildInputs = [ lxml ];
23   checkInputs = [ nose git ];
24   checkPhase = "nosetests tests";
25   doCheck = false;  # seems to want a Git repository, but fetchgit with leaveDotGit also fails
26   pythonImportsCheck = [ "citeproc" ];
28   meta = with lib; {
29     homepage = "https://github.com/brechtm/citeproc-py";
30     description = "Citation Style Language (CSL) parser for Python";
31     license = licenses.bsd2;
32     maintainers = with maintainers; [ bcdarwin ];
33   };