diff --git a/pkgs/development/python-modules/castepxbin/default.nix b/pkgs/development/python-modules/castepxbin/default.nix index 72c6e4513478..71cc81c5c3bb 100644 --- a/pkgs/development/python-modules/castepxbin/default.nix +++ b/pkgs/development/python-modules/castepxbin/default.nix @@ -1,7 +1,6 @@ { lib, buildPythonPackage, - pythonOlder, fetchFromGitHub, flit-core, numpy, @@ -11,24 +10,18 @@ buildPythonPackage rec { pname = "castepxbin"; - version = "0.3.0"; + version = "0.3.1"; pyproject = true; - disabled = pythonOlder "3.7"; - src = fetchFromGitHub { owner = "zhubonan"; repo = "castepxbin"; tag = "v${version}"; - hash = "sha256-6kumVnm4PLRxuKO6Uz0iHzfYuu21hFC7EPRsc3S1kxE="; + hash = "sha256-M+OoKr9ODIp47gt64hf47A1PblyZpBzulKI7nEm8hdo="; }; build-system = [ flit-core ]; - pythonRelaxDeps = [ - "numpy" - ]; - dependencies = [ numpy scipy @@ -36,10 +29,11 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook ]; - meta = with lib; { + meta = { + changelog = "https://github.com/zhubonan/castepxbin/releases/tag/${src.tag}"; description = "Collection of readers for CASTEP binary outputs"; homepage = "https://github.com/zhubonan/castepxbin"; - license = licenses.mit; - maintainers = with maintainers; [ dotlambda ]; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ dotlambda ]; }; }