nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pyhumps,
6 requests,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "complycube";
12 version = "1.1.8";
13 pyproject = true;
14
15 src = fetchPypi {
16 inherit version;
17 pname = "complycube";
18 hash = "sha256-lN8J9QQ9YvclYzuXtck+lt1IgS5McOE1YU0NLl9rW0I=";
19 };
20
21 nativeBuildInputs = [ setuptools ];
22
23 propagatedBuildInputs = [
24 pyhumps
25 requests
26 ];
27
28 pythonImportsCheck = [ "complycube" ];
29
30 meta = {
31 homepage = "https://complycube.com";
32 description = "Official Python client for the ComplyCube API";
33 license = lib.licenses.mit;
34 maintainers = with lib.maintainers; [ derdennisop ];
35 };
36}