nixpkgs/pkgs/development/python-modules/pyradios/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

38 lines
723 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, appdirs
, requests
, setuptools
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyradios";
version = "1.0.2";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-O30ExmvWu4spwDytFVPWGjR8w3XSTaWd2Z0LGQibq9g=";
};
propagatedBuildInputs = [
appdirs
requests
setuptools
];
# Tests and pythonImportsCheck require network access
doCheck = false;
meta = with lib; {
description = "Python client for the https://api.radio-browser.info";
homepage = "https://github.com/andreztz/pyradios";
license = licenses.mit;
maintainers = with maintainers; [ infinisil ];
};
}