Skip to content

Commit

Permalink
Merge pull request #298192 from ByteSudoer/init-gtkhash
Browse files Browse the repository at this point in the history
gtkhash: init at 1.5
  • Loading branch information
SuperSandro2000 committed Mar 27, 2024
2 parents 4ce0214 + 6929a74 commit fa03b03
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions pkgs/by-name/gt/gtkhash/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{ lib
, fetchFromGitHub
, stdenv
, meson
, ninja
, cmake
, pkg-config
, wrapGAppsHook
, gtk3
, glib
, openssl
, nettle
, libb2
, libgcrypt
}:

stdenv.mkDerivation rec {
pname = "gtkhash";
version = "1.5";

src = fetchFromGitHub {
repo = "gtkhash";
owner = "gtkhash";
rev = "v${version}";
hash = "sha256-XpgTolpTSsW3i0xk19tt4cn9qANoeiq7YnBBR6g8ioU=";
};

nativeBuildInputs = [
meson
ninja
cmake
pkg-config
wrapGAppsHook
];

buildInputs = [
gtk3
glib
openssl
nettle
libb2
libgcrypt
];

strictDeps = true;
meta = with lib; {
description = "A cross-platform desktop utility for computing message digests or checksums";
homepage = "https://gtkhash.org";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ ByteSudoer ];
mainProgram = "gtkhash";
platforms = platforms.unix;
};
}

0 comments on commit fa03b03

Please sign in to comment.