pyroute2: init at 0.4.12
This commit is contained in:
parent
b8b7832219
commit
8d67d5689c
21
pkgs/development/python-modules/pyroute2/default.nix
Normal file
21
pkgs/development/python-modules/pyroute2/default.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{stdenv, buildPythonPackage, fetchurl}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "pyroute2-0.4.12";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/p/pyroute2/${name}.tar.gz";
|
||||
sha256 = "0csp6y38pgswhn46rivdgrlqw99dpjzwa0g32h6iiaj12n2f9qlq";
|
||||
};
|
||||
|
||||
# requires root priviledges
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Python Netlink library";
|
||||
homepage = https://github.com/svinota/pyroute2;
|
||||
license = licenses.asl20;
|
||||
maintainers = [maintainers.mic92];
|
||||
platform = platforms.linux;
|
||||
};
|
||||
}
|
@ -9207,6 +9207,8 @@ in {
|
||||
propagatedBuildInputs = with self; [ pyramid hawkauthlib tokenlib webtest ];
|
||||
};
|
||||
|
||||
pyroute2 = callPackage ../development/python-modules/pyroute2 { };
|
||||
|
||||
pyspf = buildPythonPackage rec {
|
||||
name = "pyspf-${version}";
|
||||
version = "2.0.12";
|
||||
@ -20064,8 +20066,8 @@ in {
|
||||
|
||||
buildInputs = [ pkgs.libev ];
|
||||
|
||||
libEvSharedLibrary =
|
||||
if !stdenv.isDarwin
|
||||
libEvSharedLibrary =
|
||||
if !stdenv.isDarwin
|
||||
then "${pkgs.libev}/lib/libev.so.4"
|
||||
else "${pkgs.libev}/lib/libev.4.dylib";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user