nur-packages

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

default.nix (824B)


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