depot/third_party/nixpkgs/pkgs/development/python-modules/pyasn1/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

32 lines
670 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "pyasn1";
version = "0.6.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-OjWrLEte+Y4X397IqwdARvvaduKBxacGzNgjKM/I9kw=";
};
nativeBuildInputs = [ setuptools ];
pythonImportsCheck = [ "pyasn1" ];
meta = with lib; {
description = "Generic ASN.1 library for Python";
homepage = "https://pyasn1.readthedocs.io";
changelog = "https://github.com/etingof/pyasn1/blob/master/CHANGES.rst";
license = licenses.bsd2;
maintainers = with maintainers; [ ];
};
}