python3Packages.simplehound: init at 0.6

This commit is contained in:
Fabian Affolter 2021-02-26 16:26:31 +01:00
parent 870dbb751f
commit 8bdca7d22d
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ lib
, requests
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, requests-mock
}:
buildPythonPackage rec {
pname = "simplehound";
version = "0.6";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "robmarkcole";
repo = pname;
rev = "v${version}";
sha256 = "1b5m3xjmk0l6ynf0yvarplsfsslgklalfcib7sikxg3v5hiv9qwh";
};
propagatedBuildInputs = [ requests ];
checkInputs = [
requests-mock
pytestCheckHook
];
pythonImportsCheck = [ "simplehound" ];
meta = with lib; {
description = "Python API for Sighthound";
homepage = "https://github.com/robmarkcole/simplehound";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -7284,6 +7284,8 @@ in {
simplegeneric = callPackage ../development/python-modules/simplegeneric { }; simplegeneric = callPackage ../development/python-modules/simplegeneric { };
simplehound = callPackage ../development/python-modules/simplehound { };
simplejson = callPackage ../development/python-modules/simplejson { }; simplejson = callPackage ../development/python-modules/simplejson { };
simplekml = callPackage ../development/python-modules/simplekml { }; simplekml = callPackage ../development/python-modules/simplekml { };