Skip to content

Commit

Permalink
python312Packages.citeproc-py: modernize
Browse files Browse the repository at this point in the history
  • Loading branch information
pyrox0 committed Jul 26, 2024
1 parent 65ca851 commit fdc84b4
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions pkgs/development/python-modules/citeproc-py/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,24 @@
lxml,
rnc2rng,
pytestCheckHook,
setuptools,
}:

buildPythonPackage rec {
pname = "citeproc-py";
version = "0.6.0";
format = "setuptools";
pyproject = true;

src = fetchPypi {
inherit pname version;
sha256 = "d9e3a224f936fe2e5033b5d9ffdacab769cedb61d96c4e0cf2f0b488f1d24b4e";
hash = "sha256-2eOiJPk2/i5QM7XZ/9rKt2nO22HZbE4M8vC0iPHSS04=";
};

build-system = [ setuptools ];

buildInputs = [ rnc2rng ];

propagatedBuildInputs = [ lxml ];
dependencies = [ lxml ];

nativeCheckInputs = [
git
Expand All @@ -29,11 +32,11 @@ buildPythonPackage rec {

pythonImportsCheck = [ "citeproc" ];

meta = with lib; {
homepage = "https://github.com/brechtm/citeproc-py";
meta = {
homepage = "https://github.com/citeproc-py/citeproc-py";
description = "Citation Style Language (CSL) parser for Python";
mainProgram = "csl_unsorted";
license = licenses.bsd2;
maintainers = with maintainers; [ bcdarwin ];
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ bcdarwin ];
};
}

0 comments on commit fdc84b4

Please sign in to comment.