didder: init at 1.2.0

This commit is contained in:
Emery Hemingway 2023-04-18 11:29:44 -05:00
parent 9a382aa6ca
commit c5b46371a7
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ lib, stdenv, buildGoModule, fetchFromGitHub, pandoc }:
buildGoModule rec {
pname = "didder";
version = "1.2.0";
src = fetchFromGitHub {
owner = "makew0rld";
repo = pname;
rev = "v${version}";
hash = "sha256-S1j2TdV0XCrSc7Ua+SdY3JJoWgnFuAMGhUinTKO2Xh4=";
};
vendorHash = "sha256-TEp1YrQquqdEMVvZaNsEB1H/DZsTYmRL257RjQF2JqM=";
nativeBuildInputs = [ pandoc ];
postBuild = ''
make man
'';
postInstall = ''
mkdir -p $out/share/man/man1
gzip -c didder.1 > $out/share/man/man1/didder.1.gz
'';
meta = src.meta // {
description =
"An extensive, fast, and accurate command-line image dithering tool";
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ ehmry ];
};
}

View file

@ -4497,6 +4497,8 @@ with pkgs;
dibbler = callPackage ../tools/networking/dibbler { };
didder = callPackage ../tools/graphics/didder { };
dieharder = callPackage ../tools/security/dieharder { };
diesel-cli = callPackage ../development/tools/diesel-cli {