mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-24 14:18:13 +03:00
python3Packages.bumps: add pythonImportsCheck
- update meta - disable on older Python releases
This commit is contained in:
parent
cd1c31b642
commit
f28eddfd55
@ -1,24 +1,37 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, six}:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bumps";
|
||||
version = "0.9.0";
|
||||
format = "setuptools";
|
||||
|
||||
propagatedBuildInputs = [six];
|
||||
|
||||
# Bumps does not provide its own tests.py, so the test
|
||||
# always fails
|
||||
doCheck = false;
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-BY9kg0ksKfrpQgsl1aDDJJ+zKJmURqwTtKxlITxse+o=";
|
||||
hash = "sha256-BY9kg0ksKfrpQgsl1aDDJJ+zKJmURqwTtKxlITxse+o=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
six
|
||||
];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"bumps"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.reflectometry.org/danse/software.html";
|
||||
description = "Data fitting with bayesian uncertainty analysis";
|
||||
maintainers = with maintainers; [ rprospero ];
|
||||
homepage = "https://bumps.readthedocs.io/";
|
||||
license = licenses.publicDomain;
|
||||
maintainers = with maintainers; [ rprospero ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user