diff --git a/pkgs/development/python-modules/auroranoaa/default.nix b/pkgs/development/python-modules/auroranoaa/default.nix index 82820fc05f33..8dcec269dced 100644 --- a/pkgs/development/python-modules/auroranoaa/default.nix +++ b/pkgs/development/python-modules/auroranoaa/default.nix @@ -4,31 +4,37 @@ buildPythonPackage, fetchFromGitHub, pythonOlder, + setuptools, }: buildPythonPackage rec { pname = "auroranoaa"; - version = "0.0.3"; - format = "setuptools"; + version = "0.0.5"; + pyproject = true; + disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "djtimca"; repo = "aurora-api"; - rev = version; - hash = "sha256-ho0O5aEHCKaTuWh2eW2kY5a7dVGIGBLm4nKxAMq0bZ4="; + rev = "refs/tags/${version}"; + hash = "sha256-bQDFSbYFsGtvPuJNMykynOpBTIeloUoCVRtIuHXR4n0="; }; - propagatedBuildInputs = [ aiohttp ]; + build-system = [ setuptools ]; + + dependencies = [ aiohttp ]; # Project has no tests doCheck = false; + pythonImportsCheck = [ "auroranoaa" ]; meta = with lib; { description = "Python wrapper for the Aurora API"; homepage = "https://github.com/djtimca/aurora-api"; - license = with licenses; [ asl20 ]; + changelog = "https://github.com/djtimca/aurora-api/releases/tag/${version}"; + license = licenses.asl20; maintainers = with maintainers; [ fab ]; }; }