Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

gtkhash: init at 1.5 #298192

Merged
merged 1 commit into from Mar 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
54 changes: 54 additions & 0 deletions pkgs/by-name/gt/gtkhash/package.nix
@@ -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
ByteSudoer marked this conversation as resolved.
Show resolved Hide resolved
pkg-config
wrapGAppsHook
];

buildInputs = [
gtk3
glib
openssl
nettle
libb2
libgcrypt
];

ByteSudoer marked this conversation as resolved.
Show resolved Hide resolved
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;
};
ByteSudoer marked this conversation as resolved.
Show resolved Hide resolved
}