nur-packages

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

default.nix (570B)


      1 { lib, stdenv, fetchFromSourcehut }:
      2 
      3 stdenv.mkDerivation rec {
      4   pname = "gpx2yaml";
      5   version = "2021-08-19";
      6 
      7   src = fetchFromSourcehut {
      8     owner = "~sikmir";
      9     repo = pname;
     10     rev = "d4a102ab079edf239a095bdd3564be3cac193971";
     11     hash = "sha256-82RYdC1tUYwYZELTHOC+Llz+KcdLgyipB9wEWekDRww=";
     12   };
     13 
     14   installFlags = [ "PREFIX=$(out)" ];
     15 
     16   meta = with lib; {
     17     description = "GPX to YAML converter";
     18     homepage = "https://git.sikmir.ru/gpx2yaml";
     19     license = licenses.isc;
     20     maintainers = [ maintainers.sikmir ];
     21     platforms = platforms.unix;
     22   };
     23 }