10 buildPythonPackage rec {
11 pname = "awesomeversion";
15 disabled = pythonOlder "3.8";
17 src = fetchFromGitHub {
19 repo = "awesomeversion";
20 rev = "refs/tags/${version}";
21 hash = "sha256-bpLtHhpWc1VweVl5G8mM473Js3bXT11N3Zc0jiVqq5c=";
25 # Upstream doesn't set a version
26 substituteInPlace pyproject.toml \
27 --replace-fail 'version = "0"' 'version = "${version}"'
34 pythonImportsCheck = [
44 description = "Python module to deal with versions";
45 homepage = "https://github.com/ludeeus/awesomeversion";
46 changelog = "https://github.com/ludeeus/awesomeversion/releases/tag/${version}";
47 license = with licenses; [ mit ];
48 maintainers = with maintainers; [ fab ];