Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / simplehound / default.nix
blobaf97b7cc96197bc5034311d7df6a4e0ef1eb3515
1 { lib
2 , requests
3 , buildPythonPackage
4 , fetchFromGitHub
5 , pytestCheckHook
6 , pythonOlder
7 , requests-mock
8 }:
10 buildPythonPackage rec {
11   pname = "simplehound";
12   version = "0.6";
13   format = "setuptools";
14   disabled = pythonOlder "3.6";
16   src = fetchFromGitHub {
17     owner = "robmarkcole";
18     repo = pname;
19     rev = "v${version}";
20     sha256 = "1b5m3xjmk0l6ynf0yvarplsfsslgklalfcib7sikxg3v5hiv9qwh";
21   };
23   propagatedBuildInputs = [ requests ];
25   nativeCheckInputs = [
26     requests-mock
27     pytestCheckHook
28   ];
30   pythonImportsCheck = [ "simplehound" ];
32   meta = with lib; {
33     description = "Python API for Sighthound";
34     homepage = "https://github.com/robmarkcole/simplehound";
35     license = with licenses; [ asl20 ];
36     maintainers = with maintainers; [ fab ];
37   };