pythonPackages.dockerpty: Move to own file

This commit is contained in:
Elis Hirwing 2018-04-03 14:32:37 +02:00 committed by Frederik Rietdijk
parent 1be2158445
commit a919c28d0a
2 changed files with 20 additions and 16 deletions

View file

@ -0,0 +1,19 @@
{ stdenv, buildPythonPackage, fetchPypi, six }:
buildPythonPackage rec {
pname = "dockerpty";
version = "0.4.1";
src = fetchPypi {
inherit pname version;
sha256 = "1kjn64wx23jmr8dcc6g7bwlmrhfmxr77gh6iphqsl39sayfxdab9";
};
propagatedBuildInputs = [ six ];
meta = with stdenv.lib; {
description = "Functionality needed to operate the pseudo-tty (PTY) allocated to a docker container";
homepage = https://github.com/d11wtq/dockerpty;
license = licenses.asl20;
};
}

View file

@ -2132,22 +2132,7 @@ in {
docker = callPackage ../development/python-modules/docker {};
dockerpty = buildPythonPackage rec {
name = "dockerpty-0.4.1";
src = pkgs.fetchurl {
url = "mirror://pypi/d/dockerpty/${name}.tar.gz";
sha256 = "1kjn64wx23jmr8dcc6g7bwlmrhfmxr77gh6iphqsl39sayfxdab9";
};
propagatedBuildInputs = with self; [ six ];
meta = {
description = "Functionality needed to operate the pseudo-tty (PTY) allocated to a docker container";
homepage = https://github.com/d11wtq/dockerpty;
license = licenses.asl20;
};
};
dockerpty = callPackage ../development/python-modules/dockerpty {};
docker_pycreds = buildPythonPackage rec {
name = "docker-pycreds-${version}";