nur-packages

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

default.nix (2264B)


      1 {
      2   lib,
      3   stdenvNoCC,
      4   fetchgdrive,
      5   unzip,
      6 }:
      7 
      8 {
      9   hib-lov = stdenvNoCC.mkDerivation rec {
     10     pname = "Hib-Lov";
     11     version = "2020-10-17";
     12 
     13     src = fetchgdrive {
     14       id = "17DUaRG_qj_qgIZ5EuHOflaDCobO0pWlv";
     15       hash = "sha256-AV9nGPtmbTUr8dH3xTXSfSLu6iehdhRgL02YKIRVZeQ=";
     16       name = "OV-Hib-Lov-${lib.replaceStrings [ "-" ] [ "" ] version}-1.03.zip";
     17     };
     18 
     19     sourceRoot = ".";
     20 
     21     nativeBuildInputs = [ unzip ];
     22 
     23     installPhase = "install -Dm644 *.img -t $out";
     24 
     25     preferLocalBuild = true;
     26 
     27     meta = {
     28       description = "OV Хибины и Ловозерские тундры";
     29       homepage = "https://vk.com/vlasenko_maps";
     30       license = lib.licenses.free;
     31       maintainers = [ lib.maintainers.sikmir ];
     32       platforms = lib.platforms.all;
     33       skip.ci = true;
     34     };
     35   };
     36 
     37   kamch = stdenvNoCC.mkDerivation rec {
     38     pname = "Kamch";
     39     version = "2021-05-10";
     40 
     41     src = fetchgdrive {
     42       id = "1JWpkJxdnfqBrFc9Hd_FxndNDLlGM-dj0";
     43       hash = "sha256-BAPUvt+xQD/LV9NljCE7lke2syFSRAdAe++JZn/orSU=";
     44       name = "OV-Kamch-${lib.replaceStrings [ "-" ] [ "" ] version}-1.01.zip";
     45     };
     46 
     47     sourceRoot = ".";
     48 
     49     nativeBuildInputs = [ unzip ];
     50 
     51     installPhase = "install -Dm644 *.img -t $out";
     52 
     53     preferLocalBuild = true;
     54 
     55     meta = {
     56       description = "OV Ключевская-Толбачик";
     57       homepage = "https://vk.com/vlasenko_maps";
     58       license = lib.licenses.free;
     59       maintainers = [ lib.maintainers.sikmir ];
     60       platforms = lib.platforms.all;
     61       skip.ci = true;
     62     };
     63   };
     64 
     65   kodar = stdenvNoCC.mkDerivation rec {
     66     pname = "Kodar";
     67     version = "2021-02-15";
     68 
     69     src = fetchgdrive {
     70       id = "1CMMqgNoK92dIwxVpWQXkBR45P4dXP-o5";
     71       hash = "sha256-C7+KmG8SQwm/q9J2ksgonzOUXPF2JPcvwVKWYbE2axA=";
     72       name = "OV-Kodar-${lib.replaceStrings [ "-" ] [ "" ] version}-1.01.zip";
     73     };
     74 
     75     sourceRoot = ".";
     76 
     77     nativeBuildInputs = [ unzip ];
     78 
     79     installPhase = "install -Dm644 *.img -t $out";
     80 
     81     preferLocalBuild = true;
     82 
     83     meta = {
     84       description = "OV Кодар";
     85       homepage = "https://vk.com/vlasenko_maps";
     86       license = lib.licenses.free;
     87       maintainers = [ lib.maintainers.sikmir ];
     88       platforms = lib.platforms.all;
     89       skip.ci = true;
     90     };
     91   };
     92 }