Merge pull request #114472 from fabaff/simplehound

This commit is contained in:
Sandro 2021-02-27 14:18:32 +01:00 committed by GitHub
commit 1c6912636d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 40 additions and 1 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

@ -731,7 +731,7 @@
"shopping_list" = ps: with ps; [ aiohttp-cors ]; "shopping_list" = ps: with ps; [ aiohttp-cors ];
"sht31" = ps: with ps; [ ]; # missing inputs: Adafruit-GPIO Adafruit-SHT31 "sht31" = ps: with ps; [ ]; # missing inputs: Adafruit-GPIO Adafruit-SHT31
"sigfox" = ps: with ps; [ ]; "sigfox" = ps: with ps; [ ];
"sighthound" = ps: with ps; [ pillow ]; # missing inputs: simplehound "sighthound" = ps: with ps; [ pillow simplehound ];
"signal_messenger" = ps: with ps; [ ]; # missing inputs: pysignalclirestapi "signal_messenger" = ps: with ps; [ ]; # missing inputs: pysignalclirestapi
"simplepush" = ps: with ps; [ ]; # missing inputs: simplepush "simplepush" = ps: with ps; [ ]; # missing inputs: simplepush
"simplisafe" = ps: with ps; [ ]; # missing inputs: simplisafe-python "simplisafe" = ps: with ps; [ ]; # missing inputs: simplisafe-python

View File

@ -7286,6 +7286,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 { };