pythonPackages.pysocks: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-26 11:03:11 -04:00 committed by Frederik Rietdijk
parent 64b4bcc014
commit eb90391331
2 changed files with 24 additions and 17 deletions

View File

@ -0,0 +1,23 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "pysocks";
version = "1.6.6";
src = fetchPypi {
inherit pname version;
sha256 = "0h9zwr8z9j6l313ns335irjrkk6qnk4qzvwmjqygrp7mbwi9lh82";
};
doCheck = false;
meta = with stdenv.lib; {
description = "SOCKS module for Python";
license = licenses.bsd3;
maintainers = with maintainers; [ thoughtpolice ];
};
}

View File

@ -3404,23 +3404,7 @@ in {
pysnmp = callPackage ../development/python-modules/pysnmp { };
pysocks = buildPythonPackage rec {
name = "pysocks-${version}";
version = "1.6.6";
src = pkgs.fetchurl {
url = "mirror://pypi/P/PySocks/PySocks-${version}.tar.gz";
sha256 = "0h9zwr8z9j6l313ns335irjrkk6qnk4qzvwmjqygrp7mbwi9lh82";
};
doCheck = false;
meta = {
description = "SOCKS module for Python";
license = licenses.bsd3;
maintainers = with maintainers; [ thoughtpolice ];
};
};
pysocks = callPackage ../development/python-modules/pysocks { };
python_fedora = callPackage ../development/python-modules/python_fedora {};