Loading pkgs/development/python-modules/docker-pycreds/default.nix +24 −9 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchPypi, fetchFromGitHub, setuptools, six, pythonAtLeast, distutils, }: buildPythonPackage rec { pname = "docker-pycreds"; version = "0.4.0"; format = "setuptools"; pyproject = true; src = fetchPypi { inherit pname version; sha256 = "6ce3270bcaf404cc4c3e27e4b6c70d3521deae82fb508767870fdbf772d584d4"; src = fetchFromGitHub { owner = "shin-"; repo = "dockerpy-creds"; rev = "refs/tags/${version}"; hash = "sha256-yYsMsRW6Bb8vmwT0mPjs0pRqBbznGtHnGb3JNHjLjys="; }; build-system = [ setuptools ]; dependencies = [ six ] ++ lib.optionals (pythonAtLeast "3.12") [ distutils ]; pythonImportsCheck = [ "dockerpycreds" ]; # require docker-credential-helpers binaries doCheck = false; propagatedBuildInputs = [ six ]; meta = with lib; { meta = { description = "Python bindings for the docker credentials store API"; homepage = "https://github.com/shin-/dockerpy-creds"; license = licenses.asl20; license = lib.licenses.asl20; }; } Loading
pkgs/development/python-modules/docker-pycreds/default.nix +24 −9 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchPypi, fetchFromGitHub, setuptools, six, pythonAtLeast, distutils, }: buildPythonPackage rec { pname = "docker-pycreds"; version = "0.4.0"; format = "setuptools"; pyproject = true; src = fetchPypi { inherit pname version; sha256 = "6ce3270bcaf404cc4c3e27e4b6c70d3521deae82fb508767870fdbf772d584d4"; src = fetchFromGitHub { owner = "shin-"; repo = "dockerpy-creds"; rev = "refs/tags/${version}"; hash = "sha256-yYsMsRW6Bb8vmwT0mPjs0pRqBbznGtHnGb3JNHjLjys="; }; build-system = [ setuptools ]; dependencies = [ six ] ++ lib.optionals (pythonAtLeast "3.12") [ distutils ]; pythonImportsCheck = [ "dockerpycreds" ]; # require docker-credential-helpers binaries doCheck = false; propagatedBuildInputs = [ six ]; meta = with lib; { meta = { description = "Python bindings for the docker credentials store API"; homepage = "https://github.com/shin-/dockerpy-creds"; license = licenses.asl20; license = lib.licenses.asl20; }; }