1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-14 08:34:50 +00:00
nixpkgs/pkgs/development/python-modules/pyroute2/default.nix
Frederik Rietdijk 959842a9c7 Python: add pname attributes to libraries
so that we can use the update script.
2017-05-27 11:30:21 +02:00

24 lines
573 B
Nix

{stdenv, buildPythonPackage, fetchurl}:
buildPythonPackage rec {
pname = "pyroute2";
version = "0.4.13";
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://pypi/p/pyroute2/${name}.tar.gz";
sha256 = "0f8a1ihxc1r78m6dqwhks2vdp4vwwbw72mbv88v70qmkb0pxgwwk";
};
# 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];
platforms = platforms.linux;
};
}