Merge pull request #282811 from fabaff/monty-fix
python311Packages.monty: refactor
This commit is contained in:
commit
89a27bb107
@ -9,6 +9,8 @@
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, ruamel-yaml
|
||||
, setuptools
|
||||
, setuptools-scm
|
||||
, torch
|
||||
, tqdm
|
||||
}:
|
||||
@ -16,13 +18,13 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "monty";
|
||||
version = "2023.11.3";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "materialsvirtuallab";
|
||||
repo = pname;
|
||||
repo = "monty";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-SENrAHCCWYEMWqPQSy61E8bMYkCBJepK5otb7B7UGXA=";
|
||||
};
|
||||
@ -32,6 +34,11 @@ buildPythonPackage rec {
|
||||
--replace 'self.assertEqual("/usr/bin/find", which("/usr/bin/find"))' '#'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
msgpack
|
||||
ruamel-yaml
|
||||
|
Loading…
Reference in New Issue
Block a user