default.nix (900B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 }: 6 7 python3Packages.buildPythonApplication { 8 pname = "gaiagpsclient"; 9 version = "0-unstable-2023-08-26"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "kk7ds"; 14 repo = "gaiagpsclient"; 15 rev = "1ba0ea4266260ff979c7df483381d01d29fae25d"; 16 hash = "sha256-qCpyJfa8TeMfawf1+wCFu04sYHfDejyStNl6Q6XEUeA="; 17 }; 18 19 build-system = with python3Packages; [ setuptools ]; 20 21 dependencies = with python3Packages; [ 22 requests 23 prettytable 24 pytz 25 tzlocal 26 pyyaml 27 pathvalidate 28 ]; 29 30 nativeCheckInputs = with python3Packages; [ 31 mock 32 pytestCheckHook 33 ]; 34 35 doCheck = false; 36 37 meta = { 38 description = "A python client for gaiagps.com"; 39 homepage = "https://github.com/kk7ds/gaiagpsclient"; 40 license = lib.licenses.gpl3Only; 41 maintainers = [ lib.maintainers.sikmir ]; 42 mainProgram = "gaiagps"; 43 }; 44 }