summary refs log tree commit diff
path: root/pkgs/development/python-modules/docker-registry-core/default.nix
blob: ad9968af173ccdce9b24ae3a3f65b4e16ac4f516 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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;
  };
}