nur-packages

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

package.nix (878B)


      1 {
      2   lib,
      3   stdenv,
      4   fetchwebarchive,
      5 }:
      6 
      7 stdenv.mkDerivation {
      8   pname = "sendmap20";
      9   version = "4.2";
     10 
     11   __structuredAttrs = true;
     12 
     13   src = fetchwebarchive {
     14     url = "http://cgpsmapper.com/download/sendmap20.gz";
     15     timestamp = "20160622234550";
     16     hash = "sha256-mnRMW9W5eiqXQ3hLQhcBc5+UoNDO8WyoaD3Hiwce1SE=";
     17   };
     18 
     19   sourceRoot = ".";
     20   unpackCmd = "gunzip -c $curSrc > sendmap20";
     21 
     22   dontFixup = true;
     23   doInstallCheck = true;
     24 
     25   installPhase = "install -Dm755 sendmap20 -t $out/bin";
     26 
     27   installCheckPhase = "$out/bin/sendmap20 -h";
     28 
     29   meta = {
     30     description = "Software for uploading maps to your GPS";
     31     homepage = "https://web.archive.org/web/20160620061746if_/http://www.cgpsmapper.com";
     32     license = lib.licenses.free;
     33     maintainers = [ lib.maintainers.sikmir ];
     34     platforms = [
     35       "i686-linux"
     36       "x86_64-linux"
     37     ];
     38     skip.ci = true;
     39   };
     40 }