pythonPackages.pysmi: refactor move to python-modules
This commit is contained in:
parent
52a7cbe5bc
commit
2de9035fca
28
pkgs/development/python-modules/pysmi/default.nix
Normal file
28
pkgs/development/python-modules/pysmi/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, ply
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.0.7";
|
||||
pname = "pysmi";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "05h1lv2a687b9qjc399w6728ildx7majbn338a0c4k3gw6wnv7wr";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ ply ];
|
||||
|
||||
# Tests require pysnmp, which in turn requires pysmi => infinite recursion
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://pysmi.sf.net;
|
||||
description = "SNMP SMI/MIB Parser";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ koral ];
|
||||
};
|
||||
|
||||
}
|
@ -3400,28 +3400,7 @@ in {
|
||||
|
||||
PyRSS2Gen = callPackage ../development/python-modules/pyrss2gen { };
|
||||
|
||||
pysmi = buildPythonPackage rec {
|
||||
version = "0.0.7";
|
||||
name = "pysmi-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/p/pysmi/${name}.tar.gz";
|
||||
sha256 = "05h1lv2a687b9qjc399w6728ildx7majbn338a0c4k3gw6wnv7wr";
|
||||
};
|
||||
|
||||
# Tests require pysnmp, which in turn requires pysmi => infinite recursion
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = with self; [ ply ];
|
||||
|
||||
meta = {
|
||||
homepage = http://pysmi.sf.net;
|
||||
description = "SNMP SMI/MIB Parser";
|
||||
license = licenses.bsd2;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ koral ];
|
||||
};
|
||||
};
|
||||
pysmi = callPackage ../development/python-modules/pysmi { };
|
||||
|
||||
pysnmp = buildPythonPackage rec {
|
||||
version = "4.3.2";
|
||||
|
Loading…
Reference in New Issue
Block a user