pythonPackages.docker_pycreds: Move to own file
This commit is contained in:
parent
a919c28d0a
commit
f6bfb10c7f
22
pkgs/development/python-modules/docker-pycreds/default.nix
Normal file
22
pkgs/development/python-modules/docker-pycreds/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ stdenv, buildPythonPackage, fetchPypi, six }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "docker-pycreds";
|
||||
version = "0.2.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0j3k5wk3bww5y0f2rvgzsin0q98k0i9j308vpsmxidw0y8n3m0wk";
|
||||
};
|
||||
|
||||
# require docker-credential-helpers binaries
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Python bindings for the docker credentials store API.";
|
||||
homepage = https://github.com/shin-/dockerpy-creds;
|
||||
license = licenses.asl20;
|
||||
};
|
||||
}
|
|
@ -2134,27 +2134,7 @@ in {
|
|||
|
||||
dockerpty = callPackage ../development/python-modules/dockerpty {};
|
||||
|
||||
docker_pycreds = buildPythonPackage rec {
|
||||
name = "docker-pycreds-${version}";
|
||||
version = "0.2.1";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/d/docker-pycreds/${name}.tar.gz";
|
||||
sha256 = "0j3k5wk3bww5y0f2rvgzsin0q98k0i9j308vpsmxidw0y8n3m0wk";
|
||||
};
|
||||
|
||||
doCheck = false; # require docker-credential-helpers binaries
|
||||
|
||||
propagatedBuildInputs = with self; [
|
||||
six
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Python bindings for the docker credentials store API.";
|
||||
homepage = https://github.com/shin-/dockerpy-creds;
|
||||
license = licenses.asl20;
|
||||
};
|
||||
};
|
||||
docker_pycreds = callPackage ../development/python-modules/docker-pycreds {};
|
||||
|
||||
docker_registry_core = buildPythonPackage rec {
|
||||
name = "docker-registry-core-2.0.3";
|
||||
|
|
Loading…
Reference in a new issue