Merge pull request #109284 from fabaff/gps3

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

View file

@ -0,0 +1,27 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "gps3";
version = "0.33.3";
src = fetchFromGitHub {
owner = "onkelbeh";
repo = pname;
rev = version;
sha256 = "0a0qpk7d2b1cld58qcdn6bxrkil6ascs51af01dy4p83062h1hi6";
};
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "gps3" ];
meta = with lib; {
description = "Python client for GPSD";
homepage = "https://github.com/onkelbeh/gps3";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -317,7 +317,7 @@
"google_travel_time" = ps: with ps; [ googlemaps ];
"google_wifi" = ps: with ps; [ ];
"gpmdp" = ps: with ps; [ websocket_client ];
"gpsd" = ps: with ps; [ ]; # missing inputs: gps3
"gpsd" = ps: with ps; [ gps3 ];
"gpslogger" = ps: with ps; [ aiohttp-cors ];
"graphite" = ps: with ps; [ ];
"gree" = ps: with ps; [ ]; # missing inputs: greeclimate

View file

@ -2678,6 +2678,8 @@ in {
gprof2dot = callPackage ../development/python-modules/gprof2dot { inherit (pkgs) graphviz; };
gps3 = callPackage ../development/python-modules/gps3 { };
gpsoauth = callPackage ../development/python-modules/gpsoauth { };
gpxpy = callPackage ../development/python-modules/gpxpy { };