nixpkgs/pkgs/tools/misc/hashit/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

48 lines
1.1 KiB
Nix
Raw Normal View History

2021-01-17 03:51:22 +00:00
{ lib, stdenv, fetchFromGitHub, nix-update-script, meson, ninja, pkg-config, vala, pantheon, python3, libgee, gtk3, desktop-file-utils, wrapGAppsHook }:
2018-09-08 10:13:13 +00:00
stdenv.mkDerivation rec {
pname = "hashit";
version = "1.1.0";
2018-09-08 10:13:13 +00:00
src = fetchFromGitHub {
owner = "artemanufrij";
repo = pname;
rev = version;
sha256 = "1s8fbzg1z2ypn55xg1pfm5xh15waq55fkp49j8rsqiq8flvg6ybf";
2018-09-08 10:13:13 +00:00
};
nativeBuildInputs = [
2018-10-31 22:04:02 +00:00
desktop-file-utils
2018-09-08 10:13:13 +00:00
meson
ninja
vala
2021-01-17 03:51:22 +00:00
pkg-config
2018-09-08 10:13:13 +00:00
python3
wrapGAppsHook
];
buildInputs = [
gtk3
libgee
2018-08-20 20:31:18 +00:00
pantheon.granite
2018-09-08 10:13:13 +00:00
];
2018-10-31 22:04:02 +00:00
postPatch = ''
chmod +x meson/post_install.py
patchShebangs meson/post_install.py
'';
2019-12-22 23:19:30 +00:00
passthru = {
updateScript = nix-update-script { };
2019-12-22 23:19:30 +00:00
};
meta = with lib; {
description = "A simple app for checking usual checksums - Designed for elementary OS";
homepage = "https://github.com/artemanufrij/hashit";
2018-10-31 22:04:02 +00:00
license = licenses.gpl2Plus;
maintainers = teams.pantheon.members;
2018-10-31 22:04:02 +00:00
platforms = platforms.linux;
mainProgram = "com.github.artemanufrij.hashit";
2018-09-08 10:13:13 +00:00
};
}