My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/citeproc-py/default.nix

34 lines
778 B

{ lib
, buildPythonPackage
, fetchPypi
, nose
, git
, lxml
, rnc2rng
}:
buildPythonPackage rec {
pname = "citeproc-py";
version = "0.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "d9e3a224f936fe2e5033b5d9ffdacab769cedb61d96c4e0cf2f0b488f1d24b4e";
};
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 ];
};
}