3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/dpkt/default.nix
Bjørn Forsman 4b3f729172 pythonPackages.dpkt: 1.8 -> 1.9.1
* fetchurl -> fetchPypi
* Tests work now.
* Package is py3k compatible now.
2017-10-29 22:35:16 +01:00

21 lines
565 B
Nix

{ stdenv, fetchPypi, buildPythonPackage }:
buildPythonPackage rec {
pname = "dpkt";
version = "1.9.1";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "0rr9ygczhxkfb61778jx0cxs0sq46zwlcj5l3wn6xmd3iy3yx9y6";
};
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;
};
}