nur-packages

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

default.nix (639B)


      1 { lib, stdenv, fetchFromGitHub }:
      2 
      3 stdenv.mkDerivation rec {
      4   pname = "qtpbfimageplugin-styles";
      5   version = "2022-06-08";
      6 
      7   src = fetchFromGitHub {
      8     owner = "tumic0";
      9     repo = pname;
     10     rev = "5b7d248d064b9c9dd9dbb51ebbb0ff9b259045e3";
     11     hash = "sha256-BbkDHZ/rNbXz7raeQnNiJ4HnhyH5Y/pISYZuk3BYYss=";
     12   };
     13 
     14   installPhase = ''
     15     install -dm755 $out
     16     cp -r Esri Mapbox OpenMapTiles OrdnanceSurvey Tilezen $out
     17   '';
     18 
     19   meta = with lib; {
     20     description = "QtPBFImagePlugin styles";
     21     inherit (src.meta) homepage;
     22     license = licenses.free;
     23     maintainers = [ maintainers.sikmir ];
     24     platforms = platforms.all;
     25   };
     26 }