nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 116184e3c0d192bc37f38a27aad92564564a39ae
parent 8063eb5fbccf54a3801abe63f38b45fdd955c76c
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Wed,  8 Dec 2021 10:19:21 +0300

Add gaiagpsclient

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/misc/gaiagpsclient/default.nix | 28++++++++++++++++++++++++++++
2 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -272,6 +272,7 @@ lib.makeScope newScope ( docker-reg-tool = callPackage ./misc/docker-reg-tool { }; docx2csv = callPackage ./misc/docx2csv { }; finalcut = callPackage ./misc/finalcut { }; + gaiagpsclient = callPackage ./misc/gaiagpsclient { }; gef = callPackage ./misc/gef { }; glauth = callPackage ./misc/glauth { }; how-to-use-pvs-studio-free = callPackage ./misc/pvs-studio/how-to-use-pvs-studio-free.nix { }; diff --git a/pkgs/misc/gaiagpsclient/default.nix b/pkgs/misc/gaiagpsclient/default.nix @@ -0,0 +1,28 @@ +{ lib, fetchFromGitHub, python3Packages }: + +python3Packages.buildPythonApplication rec { + pname = "gaiagpsclient"; + version = "2021-06-22"; + + src = fetchFromGitHub { + owner = "kk7ds"; + repo = pname; + rev = "db3c8d197fa00d0bededa4ae96f06c39d7a85abc"; + hash = "sha256-yA3reda+ik3koHdb4OXDERfI01D7iEqgem8+XFn4YOM="; + }; + + propagatedBuildInputs = with python3Packages; [ + requests prettytable pytz tzlocal pyyaml pathvalidate + ]; + + checkInputs = with python3Packages; [ mock pytestCheckHook ]; + + doCheck = false; + + meta = with lib; { + description = "A python client for gaiagps.com"; + inherit (src.meta) homepage; + license = licenses.gpl3Only; + maintainers = [ maintainers.sikmir ]; + }; +}