mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
pythonPackages.dpkt: move to python-modules/
This commit is contained in:
parent
95f29282fb
commit
34dbc6c01c
22
pkgs/development/python-modules/dpkt/default.nix
Normal file
22
pkgs/development/python-modules/dpkt/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -4906,26 +4906,7 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
dpkt = buildPythonPackage rec {
|
||||
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;
|
||||
};
|
||||
};
|
||||
dpkt = callPackage ../development/python-modules/dpkt {};
|
||||
|
||||
urllib3 = callPackage ../development/python-modules/urllib3 {};
|
||||
|
||||
|
|
Loading…
Reference in a new issue