Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / krakenex / default.nix
blobbf907eb847deee1a722db9af222980b43fa16859
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , requests
5 }:
7 buildPythonPackage rec {
8   pname = "krakenex";
9   version = "2.1.0";
11   src = fetchFromGitHub {
12     owner = "veox";
13     repo = "python3-krakenex";
14     rev = "v${version}";
15     sha256 = "0j8qmpk6lm57h80i5njhgvm1qnxllm18dlqxfd4kyxdb93si4z2p";
16   };
18   propagatedBuildInputs = [
19     requests
20   ];
22   # no tests implemented
23   doCheck = false;
25   pythonImportsCheck = [ "krakenex" ];
27   meta = with lib; {
28     description = "Kraken.com cryptocurrency exchange API";
29     homepage = "https://github.com/veox/python3-krakenex";
30     license = licenses.lgpl3Plus;
31     maintainers = with maintainers; [ dotlambda ];
32   };