Merge pull request #21869 from Mic92/pyroute2

pyroute2: init at 0.4.12
This commit is contained in:
Jörg Thalheim 2017-01-14 10:21:50 +01:00 committed by GitHub
commit be759ba64e
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";