From b343e5375f3519f79dcdc0f7eacaede12a567190 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 13 Jan 2021 15:37:32 +0100 Subject: [PATCH] python3Packages.gps3: init at 0.33.3 --- .../python-modules/gps3/default.nix | 27 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/development/python-modules/gps3/default.nix diff --git a/pkgs/development/python-modules/gps3/default.nix b/pkgs/development/python-modules/gps3/default.nix new file mode 100644 index 000000000000..76321182dcb6 --- /dev/null +++ b/pkgs/development/python-modules/gps3/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 4c738a3cef9a..c99c4651bcdc 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2674,6 +2674,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 { };