Update aider (#375634)
[NixPkgs.git] / pkgs / development / python-modules / pysnmp-pyasn1 / default.nix
bloba4600c9554560d9237dd28bca3a2a7b98367fe14
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchFromGitHub,
6   poetry-core,
7   pytestCheckHook,
8 }:
10 buildPythonPackage rec {
11   pname = "pysnmp-pyasn1";
12   version = "1.1.3";
13   format = "pyproject";
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "pysnmp";
19     repo = "pyasn1";
20     tag = "v${version}";
21     hash = "sha256-W74aWMqGlat+aZfhbP1cTKRz7SomHdGwfK5yJwxgyqI=";
22   };
24   nativeBuildInputs = [ poetry-core ];
26   nativeCheckInputs = [ pytestCheckHook ];
28   pythonImportsCheck = [ "pyasn1" ];
30   meta = with lib; {
31     description = "Python ASN.1 encoder and decoder";
32     homepage = "https://github.com/pysnmp/pyasn1";
33     changelog = "https://github.com/pysnmp/pyasn1/releases/tag/v${version}";
34     license = licenses.bsd2;
35     maintainers = with maintainers; [ fab ];
36   };