Files
nixpkgs/pkgs/development/python-modules/asn1/default.nix
T
Martin Weinelt 08651de860 python3Packages.asn1: 2.8.0 -> 3.1.0
https://github.com/andrivet/python-asn1/blob/v3.1.0/CHANGELOG.rst

This commit was automatically generated using update-python-libraries.
2026-02-01 16:42:15 +01:00

39 lines
848 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "asn1";
version = "3.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "andrivet";
repo = "python-asn1";
tag = "v${version}";
hash = "sha256-yDX2TydMtqIE4A4QUmKPJKLM1UdXxp0qFBJx08Ri2YQ=";
};
build-system = [ setuptools ];
pythonRemoveDeps = [ "enum-compat" ];
nativeCheckInputs = [ pytestCheckHook ];
enabledTestPaths = [ "tests/test_asn1.py" ];
pythonImportsCheck = [ "asn1" ];
meta = {
description = "Python ASN.1 encoder and decoder";
homepage = "https://github.com/andrivet/python-asn1";
changelog = "https://github.com/andrivet/python-asn1/blob/${src.tag}/CHANGELOG.rst";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}