pythonPackages.dpkt: move to python-modules/

This commit is contained in:
Bjørn Forsman 2017-10-29 14:42:50 +01:00
parent 95f29282fb
commit 34dbc6c01c
2 changed files with 23 additions and 20 deletions

View File

@ -0,0 +1,22 @@
{ stdenv, fetchurl, buildPythonPackage, isPy3k }:
buildPythonPackage rec {
name = "dpkt-1.8";
disabled = isPy3k;
src = fetchurl {
url = "https://dpkt.googlecode.com/files/${name}.tar.gz";
sha256 = "01q5prynymaqyfsfi2296xncicdpid2hs3yyasim8iigvkwy4vf5";
};
# error: invalid command 'test'
doCheck = false;
meta = with stdenv.lib; {
description = "Fast, simple packet creation / parsing, with definitions for the basic TCP/IP protocols";
homepage = https://code.google.com/p/dpkt/;
license = licenses.bsd3;
maintainers = with maintainers; [ bjornfor ];
platforms = platforms.all;
};
}

View File

@ -4906,26 +4906,7 @@ in {
}; };
}; };
dpkt = buildPythonPackage rec { dpkt = callPackage ../development/python-modules/dpkt {};
name = "dpkt-1.8";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "https://dpkt.googlecode.com/files/${name}.tar.gz";
sha256 = "01q5prynymaqyfsfi2296xncicdpid2hs3yyasim8iigvkwy4vf5";
};
# error: invalid command 'test'
doCheck = false;
meta = {
description = "Fast, simple packet creation / parsing, with definitions for the basic TCP/IP protocols";
homepage = https://code.google.com/p/dpkt/;
license = licenses.bsd3;
maintainers = with maintainers; [ bjornfor ];
platforms = platforms.all;
};
};
urllib3 = callPackage ../development/python-modules/urllib3 {}; urllib3 = callPackage ../development/python-modules/urllib3 {};