python3Packages.cart: init at 1.2.1
This commit is contained in:
parent
5e4feb3c2d
commit
886805ba2f
2 changed files with 49 additions and 0 deletions
47
pkgs/development/python-modules/cart/default.nix
Normal file
47
pkgs/development/python-modules/cart/default.nix
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
{ lib
|
||||||
|
, pycryptodome
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pythonOlder
|
||||||
|
, pytestCheckHook
|
||||||
|
, unittest2
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "cart";
|
||||||
|
version = "1.2.1";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "CybercentreCanada";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-PsdDlNhX0FbuwS5ZXk9P98DjnzDGdigfnRwrdwYa4qY=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
pycryptodome
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
unittest2
|
||||||
|
];
|
||||||
|
|
||||||
|
pytestFlagsArray = [
|
||||||
|
"unittests"
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"cart"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python module for the CaRT Neutering format";
|
||||||
|
homepage = "https://github.com/CybercentreCanada/cart";
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1405,6 +1405,8 @@ in {
|
||||||
|
|
||||||
carrot = callPackage ../development/python-modules/carrot { };
|
carrot = callPackage ../development/python-modules/carrot { };
|
||||||
|
|
||||||
|
cart = callPackage ../development/python-modules/cart { };
|
||||||
|
|
||||||
cartopy = callPackage ../development/python-modules/cartopy { };
|
cartopy = callPackage ../development/python-modules/cartopy { };
|
||||||
|
|
||||||
casa-formats-io = callPackage ../development/python-modules/casa-formats-io { };
|
casa-formats-io = callPackage ../development/python-modules/casa-formats-io { };
|
||||||
|
|
Loading…
Reference in a new issue