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:
parent
b163a8316f
commit
6460425484
|
@ -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
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue