python312.pkgs.pint: use writableTmpDirAsHomeHook
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
numpy,
|
||||
matplotlib,
|
||||
uncertainties,
|
||||
writableTmpDirAsHomeHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -60,14 +61,11 @@ buildPythonPackage rec {
|
||||
pytest-subtests
|
||||
pytest-benchmark
|
||||
matplotlib
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
|
||||
pytestFlags = [ "--benchmark-disable" ];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/hgrecco/pint/blob/${version}/CHANGES";
|
||||
description = "Physical quantities module";
|
||||
|
||||
Reference in New Issue
Block a user