Commit d72352e0 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python310Packages.cdcs: 0.1.8 -> 0.1.9

- enable tests
parent 45454cd8
Loading
Loading
Loading
Loading
+18 −5
Original line number Diff line number Diff line
{ 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"