11 buildPythonPackage rec {
12 pname = "awesomeversion";
16 disabled = pythonOlder "3.8";
18 src = fetchFromGitHub {
20 repo = "awesomeversion";
21 rev = "refs/tags/${version}";
22 hash = "sha256-lpG42Be0MVinWX5MyDvBPdoZFx66l6tpUxpAJRqEf88=";
26 # Upstream doesn't set a version
27 substituteInPlace pyproject.toml \
28 --replace-fail 'version = "0"' 'version = "${version}"'
31 nativeBuildInputs = [ poetry-core ];
33 pythonImportsCheck = [ "awesomeversion" ];
41 description = "Python module to deal with versions";
42 homepage = "https://github.com/ludeeus/awesomeversion";
43 changelog = "https://github.com/ludeeus/awesomeversion/releases/tag/${version}";
44 license = with licenses; [ mit ];
45 maintainers = with maintainers; [ fab ];