pyroute2: init at 0.4.12

This commit is contained in:
Jörg Thalheim 2016-12-24 00:53:15 +01:00
parent b8b7832219
commit 8d67d5689c
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA
2 changed files with 25 additions and 2 deletions

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

View File

@ -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";