Loading pkgs/development/python-modules/cffconvert/default.nix 0 → 100644 +64 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , setuptools , click , requests , ruamel-yaml , pykwalify , jsonschema , pytestCheckHook , pytest-cov }: buildPythonPackage rec { pname = "cffconvert"; version = "2.0.0-unstable-2024-02-12"; pyproject = true; src = fetchFromGitHub { owner = "citation-file-format"; repo = "cffconvert"; rev = "5295f87c0e261da61a7b919fc754e3a77edd98a7"; hash = "sha256-/2qhWVNylrqPSf1KmuZQahzq+YH860cohVSfJsDm1BE="; }; build-system = [ setuptools ]; dependencies = [ click requests ruamel-yaml pykwalify jsonschema ]; nativeCheckInputs = [ pytestCheckHook ]; checkInputs = [ # addopts uses --no-cov pytest-cov ]; disabledTestPaths = [ # requires network access "tests/cli/test_rawify_url.py" ]; pythonImportsCheckHook = [ "cffconvert" ]; meta = { changelog = "https://github.com/citation-file-format/cffconvert/blob/${src.rev}/CHANGELOG.md"; description = "Command line program to validate and convert CITATION.cff files"; homepage = "https://github.com/citation-file-format/cffconvert"; license = lib.licenses.asl20; mainProgram = "cffconvert"; maintainers = with lib.maintainers; [ drupol ]; }; } pkgs/top-level/all-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -7094,6 +7094,8 @@ with pkgs; certstrap = callPackage ../tools/security/certstrap { }; cffconvert = python3Packages.toPythonApplication python3Packages.cffconvert; cfssl = callPackage ../tools/security/cfssl { }; cfs-zen-tweaks = callPackage ../os-specific/linux/cfs-zen-tweaks { }; pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -1987,6 +1987,8 @@ self: super: with self; { cf-xarray = callPackage ../development/python-modules/cf-xarray { }; cffconvert = callPackage ../development/python-modules/cffconvert { }; cffi = callPackage ../development/python-modules/cffi { }; cffsubr = callPackage ../development/python-modules/cffsubr { }; Loading Loading
pkgs/development/python-modules/cffconvert/default.nix 0 → 100644 +64 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , setuptools , click , requests , ruamel-yaml , pykwalify , jsonschema , pytestCheckHook , pytest-cov }: buildPythonPackage rec { pname = "cffconvert"; version = "2.0.0-unstable-2024-02-12"; pyproject = true; src = fetchFromGitHub { owner = "citation-file-format"; repo = "cffconvert"; rev = "5295f87c0e261da61a7b919fc754e3a77edd98a7"; hash = "sha256-/2qhWVNylrqPSf1KmuZQahzq+YH860cohVSfJsDm1BE="; }; build-system = [ setuptools ]; dependencies = [ click requests ruamel-yaml pykwalify jsonschema ]; nativeCheckInputs = [ pytestCheckHook ]; checkInputs = [ # addopts uses --no-cov pytest-cov ]; disabledTestPaths = [ # requires network access "tests/cli/test_rawify_url.py" ]; pythonImportsCheckHook = [ "cffconvert" ]; meta = { changelog = "https://github.com/citation-file-format/cffconvert/blob/${src.rev}/CHANGELOG.md"; description = "Command line program to validate and convert CITATION.cff files"; homepage = "https://github.com/citation-file-format/cffconvert"; license = lib.licenses.asl20; mainProgram = "cffconvert"; maintainers = with lib.maintainers; [ drupol ]; }; }
pkgs/top-level/all-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -7094,6 +7094,8 @@ with pkgs; certstrap = callPackage ../tools/security/certstrap { }; cffconvert = python3Packages.toPythonApplication python3Packages.cffconvert; cfssl = callPackage ../tools/security/cfssl { }; cfs-zen-tweaks = callPackage ../os-specific/linux/cfs-zen-tweaks { };
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -1987,6 +1987,8 @@ self: super: with self; { cf-xarray = callPackage ../development/python-modules/cf-xarray { }; cffconvert = callPackage ../development/python-modules/cffconvert { }; cffi = callPackage ../development/python-modules/cffi { }; cffsubr = callPackage ../development/python-modules/cffsubr { }; Loading