3
0
Fork 0
forked from mirrors/nixpkgs

python311Packages.asn1crypto: 1.5.1 -> 1.5.1-unstable-2023.11.03

Fast forward to a version with Python 3.12 compatibility.
This commit is contained in:
Martin Weinelt 2023-12-04 18:07:30 +01:00
parent b163a8316f
commit 6460425484
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -1,22 +1,32 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
# build-system
, setuptools
# tests
, pytestCheckHook
}:
buildPythonPackage rec {
buildPythonPackage {
pname = "asn1crypto";
version = "1.5.1";
format = "setuptools";
version = "1.5.1-unstable-2023-11-03";
pyproject = true;
# Pulling from Github to run tests
src = fetchFromGitHub {
owner = "wbond";
repo = "asn1crypto";
rev = version;
hash = "sha256-M8vASxhaJPgkiTrAckxz7gk/QHkrFlNz7fFbnLEBT+M=";
# https://github.com/wbond/asn1crypto/issues/269
rev = "b763a757bb2bef2ab63620611ddd8006d5e9e4a2";
hash = "sha256-11WajEDtisiJsKQjZMSd5sDog3DuuBzf1PcgSY+uuXY=";
};
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
];