nur-packages

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

default.nix (734B)


      1 { lib, buildGoModule, fetchFromGitHub, installShellFiles }:
      2 
      3 buildGoModule rec {
      4   pname = "didder";
      5   version = "1.1.0";
      6 
      7   src = fetchFromGitHub {
      8     owner = "makeworld-the-better-one";
      9     repo = "didder";
     10     rev = "v${version}";
     11     hash = "sha256-3tK7UaHzARlrhT1hzlekwSqclrDwoSv+vHzpSPTmxrs=";
     12   };
     13 
     14   vendorHash = "sha256-U82CJIFZOkvKeiIHDAy1+AAg/mecSA+QzeQh+70X8Mo=";
     15 
     16   nativeBuildInputs = [ installShellFiles ];
     17 
     18   postInstall = ''
     19     installManPage didder.1
     20   '';
     21 
     22   meta = with lib; {
     23     description = "An extensive, fast, and accurate command-line image dithering tool";
     24     inherit (src.meta) homepage;
     25     license = licenses.gpl3Only;
     26     maintainers = [ maintainers.sikmir ];
     27     platforms = platforms.unix;
     28   };
     29 }