depot/third_party/nixpkgs/pkgs/by-name/gt/gtkhash/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

54 lines
890 B
Nix

{ lib
, fetchFromGitHub
, stdenv
, meson
, ninja
, cmake
, pkg-config
, wrapGAppsHook3
, 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
wrapGAppsHook3
];
buildInputs = [
gtk3
glib
openssl
nettle
libb2
libgcrypt
];
strictDeps = true;
meta = with lib; {
description = "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;
};
}