nur-packages

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

default.nix (722B)


      1 { lib, fetchFromGitHub, python3Packages }:
      2 
      3 python3Packages.buildPythonApplication rec {
      4   pname = "gaiagpsclient";
      5   version = "2021-06-22";
      6 
      7   src = fetchFromGitHub {
      8     owner = "kk7ds";
      9     repo = pname;
     10     rev = "db3c8d197fa00d0bededa4ae96f06c39d7a85abc";
     11     hash = "sha256-yA3reda+ik3koHdb4OXDERfI01D7iEqgem8+XFn4YOM=";
     12   };
     13 
     14   propagatedBuildInputs = with python3Packages; [
     15     requests prettytable pytz tzlocal pyyaml pathvalidate
     16   ];
     17 
     18   checkInputs = with python3Packages; [ mock pytestCheckHook ];
     19 
     20   doCheck = false;
     21 
     22   meta = with lib; {
     23     description = "A python client for gaiagps.com";
     24     inherit (src.meta) homepage;
     25     license = licenses.gpl3Only;
     26     maintainers = [ maintainers.sikmir ];
     27   };
     28 }