mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
commit
be759ba64e
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