11 buildPythonPackage rec {
12 pname = "nipreps-versions";
16 disabled = pythonOlder "3.7";
18 src = fetchFromGitHub {
20 repo = "version-schemes";
21 rev = "refs/tags/${version}";
22 hash = "sha256-B2wtLurzgk59kTooH51a2dewK7aEyA0dAm64Wp+tqhM=";
25 env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
32 propagatedBuildInputs = [
36 nativeCheckInputs = [ pytestCheckHook ];
37 pythonImportsCheck = [ "nipreps_versions" ];
40 description = "Setuptools_scm plugin for nipreps version schemes";
41 homepage = "https://github.com/nipreps/version-schemes";
42 changelog = "https://github.com/nipreps/version-schemes/blob/${src.rev}/CHANGES.md";
43 license = licenses.asl20;
44 maintainers = with maintainers; [ bcdarwin ];