python310Packages.crysp: init at 1.2
This commit is contained in:
parent
e4f48619b2
commit
09b5c88b9a
2 changed files with 50 additions and 0 deletions
48
pkgs/development/python-modules/crysp/default.nix
Normal file
48
pkgs/development/python-modules/crysp/default.nix
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, grandalf
|
||||||
|
, matplotlib
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "crysp";
|
||||||
|
version = "1.2";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "bdcht";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-51SKS6OOXIFT1L3YICR6a4QGSz/rbB8V+Z0u0jMO474=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
grandalf
|
||||||
|
matplotlib
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "'pytest-runner'," ""
|
||||||
|
'';
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"crysp"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Module that provides crypto-related facilities";
|
||||||
|
homepage = "https://github.com/bdcht/crysp";
|
||||||
|
license = with licenses; [ gpl2Only ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -2143,6 +2143,8 @@ in {
|
||||||
|
|
||||||
cryptoparser = callPackage ../development/python-modules/cryptoparser { };
|
cryptoparser = callPackage ../development/python-modules/cryptoparser { };
|
||||||
|
|
||||||
|
crysp = callPackage ../development/python-modules/crysp { };
|
||||||
|
|
||||||
crytic-compile = callPackage ../development/python-modules/crytic-compile { };
|
crytic-compile = callPackage ../development/python-modules/crytic-compile { };
|
||||||
|
|
||||||
csrmesh = callPackage ../development/python-modules/csrmesh { };
|
csrmesh = callPackage ../development/python-modules/csrmesh { };
|
||||||
|
|
Loading…
Reference in a new issue