mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
python310Packages.jwcrypto: add pythonImportsCheck
This commit is contained in:
parent
e3d3af7eac
commit
d47523375d
1 changed files with 10 additions and 2 deletions
|
@ -3,15 +3,19 @@
|
|||
, fetchPypi
|
||||
, cryptography
|
||||
, deprecated
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jwcrypto";
|
||||
version = "1.3";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-DWRhuhP3wnHYusUBjuYN28rl/zlAP6+kI3X1fQjjmLs=";
|
||||
hash = "sha256-DWRhuhP3wnHYusUBjuYN28rl/zlAP6+kI3X1fQjjmLs=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -19,10 +23,14 @@ buildPythonPackage rec {
|
|||
deprecated
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"jwcrypto"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Implementation of JOSE Web standards";
|
||||
homepage = "https://github.com/latchset/jwcrypto";
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
maintainers = with maintainers; [ costrouc ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue