python310Packages.cdcs: 0.1.8 -> 0.1.9
- enable tests
This commit is contained in:
parent
45454cd8ed
commit
d72352e04a
@ -1,16 +1,20 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, ipython
|
||||
, numpy
|
||||
, pandas
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, requests
|
||||
, responses
|
||||
, setuptools
|
||||
, tqdm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.1.8";
|
||||
pname = "cdcs";
|
||||
version = "0.1.9";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
@ -18,18 +22,27 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "usnistgov";
|
||||
repo = "pycdcs";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-s+COE7hus1J5I8PTdagl7KEK5QFoidjQ3ee46kOWmkE=";
|
||||
# https://github.com/usnistgov/pycdcs/issues/1
|
||||
rev = "0a770b752301c27e227ca40a4752f305b55dee20";
|
||||
sha256 = "sha256-AUrVEFea4VtBJXWWgECqdBFCqKuHWAlh07Dljp+HBa0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
ipython
|
||||
numpy
|
||||
pandas
|
||||
requests
|
||||
tqdm
|
||||
];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
responses
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"cdcs"
|
||||
|
Loading…
Reference in New Issue
Block a user