mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
gtkhash: init at 1.5
This commit is contained in:
parent
227847550c
commit
6929a7444d
54
pkgs/by-name/gt/gtkhash/package.nix
Normal file
54
pkgs/by-name/gt/gtkhash/package.nix
Normal file
@ -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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user