nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 aiohttp,
6}:
7
8buildPythonPackage rec {
9 pname = "pyfreedompro";
10 version = "1.1.0";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "92812070a0c74761fa0c8cac98ddbe0bca781c8de80e2b08dbd04492e831c172";
16 };
17
18 propagatedBuildInputs = [ aiohttp ];
19
20 # upstream has no tests
21 doCheck = false;
22
23 pythonImportsCheck = [ "aiohttp" ];
24
25 meta = {
26 description = "Python library for Freedompro API";
27 homepage = "https://github.com/stefano055415/pyfreedompro";
28 license = lib.licenses.mit;
29 maintainers = with lib.maintainers; [ dotlambda ];
30 };
31}