mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 19:45:54 +00:00
4b3f729172
* fetchurl -> fetchPypi * Tests work now. * Package is py3k compatible now.
21 lines
565 B
Nix
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;
|
|
};
|
|
}
|