3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/unicrypto/default.nix
2022-03-28 09:40:47 +02:00

38 lines
696 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pycryptodomex
, pythonOlder
}:
buildPythonPackage rec {
pname = "unicrypto";
version = "0.0.5";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-aSQPJgSTNGhh5jlpfi/aJF8UZWx98grm2eaxuzassp4=";
};
propagatedBuildInputs = [
pycryptodomex
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"unicrypto"
];
meta = with lib; {
description = "Unified interface for cryptographic libraries";
homepage = "https://github.com/skelsec/unicrypto";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}