pythonPackages.docker_registry_core: Move to own file

This commit is contained in:
Elis Hirwing 2018-04-03 14:47:43 +02:00 committed by Frederik Rietdijk
parent f6bfb10c7f
commit 7cc875b947
2 changed files with 27 additions and 24 deletions

View File

@ -0,0 +1,26 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
, boto, redis, setuptools, simplejson }:
buildPythonPackage rec {
pname = "docker-registry-core";
version = "2.0.3";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "0q036rr0b5734szkj883hkb2kjhgcc5pm3dz4yz8vcim3x7q0zil";
};
DEPS = "loose";
doCheck = false;
propagatedBuildInputs = [ boto redis setuptools simplejson ];
patchPhase = "> requirements/main.txt";
meta = with stdenv.lib; {
description = "Docker registry core package";
homepage = https://github.com/docker/docker-registry;
license = licenses.asl20;
};
}

View File

@ -2136,30 +2136,7 @@ in {
docker_pycreds = callPackage ../development/python-modules/docker-pycreds {};
docker_registry_core = buildPythonPackage rec {
name = "docker-registry-core-2.0.3";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "mirror://pypi/d/docker-registry-core/${name}.tar.gz";
sha256 = "347e804f1f35b28dbe27bf8d7a0b630fca29d684032139bf26e3940572360360";
};
DEPS = "loose";
doCheck = false;
propagatedBuildInputs = with self; [
boto redis setuptools simplejson
];
patchPhase = "> requirements/main.txt";
meta = {
description = "Docker registry core package";
homepage = https://github.com/docker/docker-registry;
license = licenses.asl20;
};
};
docker_registry_core = callPackage ../development/python-modules/docker-registry-core {};
docker_registry = buildPythonPackage rec {
name = "docker-registry-0.9.1";