python313Packages.unicrypto: modernize
This commit is contained in:
@@ -4,15 +4,13 @@
|
||||
fetchFromGitHub,
|
||||
pycryptodome,
|
||||
pycryptodomex,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "unicrypto";
|
||||
version = "0.0.12";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "skelsec";
|
||||
@@ -21,7 +19,9 @@ buildPythonPackage rec {
|
||||
hash = "sha256-RYwovFMalBNDPDEVjQ/8/N7DkOMiyeEQ5ESdgCK8RW8=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
pycryptodome
|
||||
pycryptodomex
|
||||
];
|
||||
@@ -34,8 +34,8 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Unified interface for cryptographic libraries";
|
||||
homepage = "https://github.com/skelsec/unicrypto";
|
||||
changelog = "https://github.com/skelsec/unicrypto/releases/tag/${version}";
|
||||
license = with licenses; [ mit ];
|
||||
changelog = "https://github.com/skelsec/unicrypto/releases/tag/${src.tag}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user