mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 11:22:58 +00:00
python3Packages.python-pkcs11: init at 0.7.0
This commit is contained in:
parent
f75e2a648c
commit
c535c86c9b
44
pkgs/development/python-modules/python-pkcs11/default.nix
Normal file
44
pkgs/development/python-modules/python-pkcs11/default.nix
Normal file
@ -0,0 +1,44 @@
|
||||
{ lib
|
||||
, asn1crypto
|
||||
, buildPythonPackage
|
||||
, cached-property
|
||||
, cython
|
||||
, fetchFromGitHub
|
||||
, setuptools-scm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-pkcs11";
|
||||
version = "0.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "danni";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0kncbipfpsb7m7mhv5s5b9wk604h1j08i2j26fn90pklgqll0xhv";
|
||||
};
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cached-property
|
||||
asn1crypto
|
||||
];
|
||||
|
||||
# Test require additional setup
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "pkcs11" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "PKCS#11/Cryptoki support for Python";
|
||||
homepage = "https://github.com/danni/python-pkcs11";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -7061,6 +7061,8 @@ in {
|
||||
|
||||
python-pipedrive = callPackage ../development/python-modules/python-pipedrive { };
|
||||
|
||||
python-pkcs11 = callPackage ../development/python-modules/python-pkcs11 { };
|
||||
|
||||
python-prctl = callPackage ../development/python-modules/python-prctl { };
|
||||
|
||||
python-ptrace = callPackage ../development/python-modules/python-ptrace { };
|
||||
|
Loading…
Reference in New Issue
Block a user