Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 24.05-beta 46 lines 897 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 jinja2, 6 ply, 7 poetry-core, 8 pythonOlder, 9 requests, 10}: 11 12buildPythonPackage rec { 13 pname = "pysmi-lextudio"; 14 version = "1.4.3"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchFromGitHub { 20 owner = "lextudio"; 21 repo = "pysmi"; 22 rev = "refs/tags/v${version}"; 23 hash = "sha256-JrWVoK7fqESUIJeprjB28iaqOEWgsTpTqUEmSZp9XDk="; 24 }; 25 26 nativeBuildInputs = [ poetry-core ]; 27 28 propagatedBuildInputs = [ 29 jinja2 30 ply 31 requests 32 ]; 33 34 # Circular dependency on pysnmp-lextudio 35 doCheck = false; 36 37 pythonImportsCheck = [ "pysmi" ]; 38 39 meta = with lib; { 40 description = "SNMP MIB parser"; 41 homepage = "https://github.com/lextudio/pysmi"; 42 changelog = "https://github.com/lextudio/pysmi/blob/v${version}/CHANGES.rst"; 43 license = licenses.bsd2; 44 maintainers = with maintainers; [ fab ]; 45 }; 46}