1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 20:36:27 +00:00

python3Packages.citeproc-py: init at 0.5.1

This commit is contained in:
Ben Darwin 2020-06-09 16:08:55 -04:00 committed by Jon
parent a113aa5b6b
commit 4c2504a6bf
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchPypi
, nose
, git
, lxml
, rnc2rng
}:
buildPythonPackage rec {
pname = "citeproc-py";
version = "0.5.1";
src = fetchPypi {
inherit pname version;
sha256 = "00aaff50jy4j0nakdzq9258z1gzrac9baarli2ymgspj88jg5968";
};
buildInputs = [ rnc2rng ];
propagatedBuildInputs = [ lxml ];
checkInputs = [ nose git ];
checkPhase = "nosetests tests";
doCheck = false; # seems to want a Git repository, but fetchgit with leaveDotGit also fails
pythonImportsCheck = [ "citeproc" ];
meta = with lib; {
homepage = "https://github.com/brechtm/citeproc-py";
description = "Citation Style Language (CSL) parser for Python";
license = licenses.bsd2;
maintainers = with maintainers; [ bcdarwin ];
};
}

View file

@ -1999,6 +1999,8 @@ in {
pythonProtobuf = self.protobuf;
};
citeproc-py = callPackage ../development/python-modules/citeproc-py { };
colorcet = callPackage ../development/python-modules/colorcet { };
coloredlogs = callPackage ../development/python-modules/coloredlogs { };