From c343b1530730e6161a1c9122ef1e87128718f20e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 29 Sep 2023 12:52:55 -0700 Subject: [PATCH] python310Packages.castepxbin: 0.2.0 -> 0.3.0 Diff: https://github.com/zhubonan/castepxbin/compare/v0.2.0...v0.3.0 Changelog: https://github.com/zhubonan/castepxbin/releases/tag/v0.3.0 --- .../python-modules/castepxbin/default.nix | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/castepxbin/default.nix b/pkgs/development/python-modules/castepxbin/default.nix index 765bb7164369e..b02cac817fe2b 100644 --- a/pkgs/development/python-modules/castepxbin/default.nix +++ b/pkgs/development/python-modules/castepxbin/default.nix @@ -1,27 +1,35 @@ { lib , buildPythonPackage +, pythonOlder , fetchFromGitHub +, flit-core , numpy , scipy -, pymatgen , pytestCheckHook }: buildPythonPackage rec { pname = "castepxbin"; - version = "0.2.0"; + version = "0.3.0"; + + disabled = pythonOlder "3.7"; + + format = "pyproject"; src = fetchFromGitHub { owner = "zhubonan"; repo = "castepxbin"; rev = "v${version}"; - sha256 = "0bqicpdyisbcz8argy4ppm59zzkcn9lcs4y1mh2f31f75x732na3"; + hash = "sha256-6kumVnm4PLRxuKO6Uz0iHzfYuu21hFC7EPRsc3S1kxE="; }; + nativeBuildInputs = [ + flit-core + ]; + propagatedBuildInputs = [ numpy scipy - pymatgen ]; nativeCheckInputs = [