mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
python312Packages.prox-tv: drop nose dependency
This commit is contained in:
parent
6668b98f28
commit
10c865e804
|
@ -5,7 +5,8 @@
|
|||
buildPythonPackage,
|
||||
cffi,
|
||||
fetchFromGitHub,
|
||||
nose,
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
numpy,
|
||||
stdenv,
|
||||
}:
|
||||
|
@ -13,7 +14,7 @@
|
|||
buildPythonPackage {
|
||||
pname = "prox-tv";
|
||||
version = "3.3.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "albarji";
|
||||
|
@ -22,27 +23,26 @@ buildPythonPackage {
|
|||
sha256 = "0mlrjbb5rw78dgijkr3bspmsskk6jqs9y7xpsgs35i46dvb327q5";
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ nose ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
numpy
|
||||
cffi
|
||||
];
|
||||
|
||||
# this test is known to fail on darwin
|
||||
checkPhase = ''
|
||||
nosetests --exclude=test_tvp_1d ${lib.optionalString stdenv.isDarwin " --exclude=test_tv2_1d"}
|
||||
'';
|
||||
|
||||
propagatedNativeBuildInputs = [ cffi ];
|
||||
|
||||
buildInputs = [
|
||||
blas
|
||||
lapack
|
||||
];
|
||||
|
||||
propagatedNativeBuildInputs = [ cffi ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
disabledTests = [ "test_tvp_1d" ] ++ lib.optionals stdenv.isDarwin [ "test_tv2_1d" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/albarji/proxTV";
|
||||
description = "Toolbox for fast Total Variation proximity operators";
|
||||
|
|
Loading…
Reference in a new issue