nixpkgs/pkgs/development/python-modules/pysmi/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

30 lines
590 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, ply
}:
buildPythonPackage rec {
version = "0.3.4";
format = "setuptools";
pname = "pysmi";
src = fetchPypi {
inherit pname version;
sha256 = "bd15a15020aee8376cab5be264c26330824a8b8164ed0195bd402dd59e4e8f7c";
};
propagatedBuildInputs = [ ply ];
# Tests require pysnmp, which in turn requires pysmi => infinite recursion
doCheck = false;
meta = with lib; {
homepage = "http://pysmi.sf.net";
description = "SNMP SMI/MIB Parser";
license = licenses.bsd2;
maintainers = with maintainers; [ koral ];
};
}