diff --git a/pkgs/development/python-modules/yabadaba/default.nix b/pkgs/development/python-modules/yabadaba/default.nix index 450bfe61f99b..7d5eb445d58d 100644 --- a/pkgs/development/python-modules/yabadaba/default.nix +++ b/pkgs/development/python-modules/yabadaba/default.nix @@ -1,33 +1,37 @@ -{ lib -, buildPythonPackage -, cdcs -, datamodeldict -, fetchFromGitHub -, ipython -, lxml -, numpy -, pandas -, pymongo -, pytestCheckHook -, pythonOlder -, tqdm +{ + lib, + buildPythonPackage, + cdcs, + datamodeldict, + fetchFromGitHub, + ipython, + lxml, + numpy, + pandas, + pymongo, + pytestCheckHook, + pythonOlder, + setuptools, + tqdm, }: buildPythonPackage rec { pname = "yabadaba"; version = "0.2.2"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "usnistgov"; - repo = pname; - rev = "v${version}"; + repo = "yabadaba"; + rev = "refs/tags/v${version}"; hash = "sha256-NfvnUrTnOeNfiTMrcRtWU3a/Wb6qsDeQlk5jwZ1OpgI="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ cdcs datamodeldict ipython @@ -38,13 +42,9 @@ buildPythonPackage rec { tqdm ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; - pythonImportsCheck = [ - "yabadaba" - ]; + pythonImportsCheck = [ "yabadaba" ]; preCheck = '' export HOME=$(mktemp -d); @@ -53,6 +53,7 @@ buildPythonPackage rec { meta = with lib; { description = "Abstraction layer allowing for common interactions with databases and records"; homepage = "https://github.com/usnistgov/yabadaba"; + changelog = "https://github.com/usnistgov/yabadaba/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };