Loading pkgs/development/python-modules/pypitoken/default.nix 0 → 100644 +57 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , jsonschema , poetry-core , pymacaroons , pytest-mock , pytestCheckHook , pythonOlder , typing-extensions }: buildPythonPackage rec { pname = "pypitoken"; version = "6.0.3"; format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "ewjoachim"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-1kPIVcxpFjqlAnPh71iS07n9M0qcFrwMRV8k38YxHBc="; }; postPatch = '' sed -i "/--cov/d" setup.cfg ''; nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [ pymacaroons jsonschema typing-extensions ]; nativeCheckInputs = [ pytest-mock pytestCheckHook ]; pythonImportsCheck = [ "pypitoken" ]; meta = with lib; { description = "Library for generating and manipulating PyPI tokens"; homepage = "https://pypitoken.readthedocs.io/"; changelog = "https://github.com/ewjoachim/pypitoken/releases/tag/6.0.3${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -8600,6 +8600,8 @@ self: super: with self; { pypiserver = callPackage ../development/python-modules/pypiserver { }; pypitoken = callPackage ../development/python-modules/pypitoken { }; pyplaato = callPackage ../development/python-modules/pyplaato { }; pyplatec = callPackage ../development/python-modules/pyplatec { }; Loading Loading
pkgs/development/python-modules/pypitoken/default.nix 0 → 100644 +57 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , jsonschema , poetry-core , pymacaroons , pytest-mock , pytestCheckHook , pythonOlder , typing-extensions }: buildPythonPackage rec { pname = "pypitoken"; version = "6.0.3"; format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "ewjoachim"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-1kPIVcxpFjqlAnPh71iS07n9M0qcFrwMRV8k38YxHBc="; }; postPatch = '' sed -i "/--cov/d" setup.cfg ''; nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [ pymacaroons jsonschema typing-extensions ]; nativeCheckInputs = [ pytest-mock pytestCheckHook ]; pythonImportsCheck = [ "pypitoken" ]; meta = with lib; { description = "Library for generating and manipulating PyPI tokens"; homepage = "https://pypitoken.readthedocs.io/"; changelog = "https://github.com/ewjoachim/pypitoken/releases/tag/6.0.3${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -8600,6 +8600,8 @@ self: super: with self; { pypiserver = callPackage ../development/python-modules/pypiserver { }; pypitoken = callPackage ../development/python-modules/pypitoken { }; pyplaato = callPackage ../development/python-modules/pyplaato { }; pyplatec = callPackage ../development/python-modules/pyplatec { }; Loading