depot/third_party/nixpkgs/pkgs/development/python-modules/unicrypto/default.nix
Default email 8a45d4525b Project import generated by Copybara.
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
2022-03-30 11:31:56 +02:00

37 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 ];
};
}