pythonPackages.pysocks: refactor move to python-modules
This commit is contained in:
parent
64b4bcc014
commit
eb90391331
23
pkgs/development/python-modules/pysocks/default.nix
Normal file
23
pkgs/development/python-modules/pysocks/default.nix
Normal 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 ];
|
||||
};
|
||||
|
||||
}
|
@ -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 {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user