Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 aiohttp,
4 buildPythonPackage,
5 docopt,
6 fetchPypi,
7 pyyaml,
8}:
9
10buildPythonPackage rec {
11 pname = "eliqonline";
12 version = "1.2.2";
13 format = "setuptools";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "hOUN4cA4pKVioIrfJM02GOnZdDRc7xbNtvHfoD3//bM=";
18 };
19
20 propagatedBuildInputs = [
21 aiohttp
22 docopt
23 pyyaml
24 ];
25
26 # Project has no tests
27 doCheck = false;
28
29 pythonImportsCheck = [ "eliqonline" ];
30
31 meta = {
32 description = "Python client to the Eliq Online API";
33 mainProgram = "eliqonline";
34 homepage = "https://github.com/molobrakos/eliqonline";
35 license = lib.licenses.lgpl3Only;
36 maintainers = with lib.maintainers; [ fab ];
37 };
38}