nixpkgs/pkgs/development/python-modules/dpkt/default.nix
2017-10-29 22:35:15 +01:00

23 lines
631 B
Nix

{ 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;
};
}