Merge pull request #109352 from fabaff/tmb

This commit is contained in:
Sandro 2021-01-14 13:54:30 +01:00 committed by GitHub
commit 3ad6cd726f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 1 deletions

View file

@ -0,0 +1,30 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
}:
buildPythonPackage rec {
pname = "tmb";
version = "0.1.0";
src = fetchFromGitHub {
owner = "alemuro";
repo = pname;
rev = version;
sha256 = "0fmwm9dz2mik9zni50wrnw7k9ld4l4w3p92aws6jcrdfxfi7aq7p";
};
propagatedBuildInputs = [ requests ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "tmb" ];
meta = with lib; {
homepage = "https://github.com/alemuro/tmb";
description = "Python library that interacts with TMB API";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -841,7 +841,7 @@
"tile" = ps: with ps; [ pytile ];
"time_date" = ps: with ps; [ ];
"timer" = ps: with ps; [ ];
"tmb" = ps: with ps; [ ]; # missing inputs: tmb
"tmb" = ps: with ps; [ tmb ];
"tod" = ps: with ps; [ ];
"todoist" = ps: with ps; [ todoist ];
"tof" = ps: with ps; [ ]; # missing inputs: RPi.GPIO VL53L1X2

View file

@ -7614,6 +7614,8 @@ in {
tls-parser = callPackage ../development/python-modules/tls-parser { };
tmb = callPackage ../development/python-modules/tmb { };
tmdb3 = callPackage ../development/python-modules/tmdb3 { };
todoist = callPackage ../development/python-modules/todoist { };