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

44 lines
979 B
Nix
Raw Normal View History

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