Unverified Commit fa03b033 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #298192 from ByteSudoer/init-gtkhash

gtkhash: init at 1.5
parents 4ce0214e 6929a744
Loading
Loading
Loading
Loading
+54 −0
Original line number Diff line number Diff line
{ 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;
  };
}