summary refs log tree commit diff
path: root/pkgs/tools/misc/hashit/default.nix
blob: 69d73aafff92d648436ed4ff610f23a80d33ff95 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, cmake, vala, python3, gnome3, gtk3, granite, gobjectIntrospection, wrapGAppsHook }:

stdenv.mkDerivation rec {
  pname = "hashit";
  version = "0.2.0";

  name = "${pname}-${version}";

  src = fetchFromGitHub {
    owner = "artemanufrij";
    repo = pname;
    rev = version;
    sha256 = "1d2g7cm7hhs354waidak9xkhhcvqlwnsl9d0bar9p82gfnpjdg7v";
  };

  nativeBuildInputs = [
    gobjectIntrospection
    meson
    ninja
    pkgconfig
    python3
    vala
    wrapGAppsHook
  ];

  buildInputs = [
    granite
    gtk3
    gnome3.libgee
  ];

  meta = with stdenv.lib; {
    description = "A simple app for checking usual checksums";
    homepage    = https://github.com/artemanufrij/hashit;
    license     = licenses.gpl2Plus;
    maintainers = with maintainers; [ worldofpeace ];
    platforms   = platforms.linux;
  };
}