nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, buildPythonPackage
3, fetchPypi
4, appdirs
5, requests
6, setuptools
7, pythonOlder
8}:
9
10buildPythonPackage rec {
11 pname = "pyradios";
12 version = "1.0.1";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.6";
16
17 src = fetchPypi {
18 inherit pname version;
19 sha256 = "0fd3b234c635d9e628bdadb9dc3a820405631b54977402719a641d2e1cc3f7b6";
20 };
21
22 propagatedBuildInputs = [
23 appdirs
24 requests
25 setuptools
26 ];
27
28 # Tests and pythonImportsCheck require network access
29 doCheck = false;
30
31 meta = with lib; {
32 description = "Python client for the https://api.radio-browser.info";
33 homepage = "https://github.com/andreztz/pyradios";
34 license = licenses.mit;
35 maintainers = with maintainers; [ infinisil ];
36 };
37}