about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/misc/xpad/default.nix
blob: 13b29491bf3f7542db2c3183e9a526c6d1c1d5db (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
{ lib, stdenv, fetchurl
, autoreconfHook, pkg-config, wrapGAppsHook
, glib, intltool, gtk3, gtksourceview }:

stdenv.mkDerivation rec {
  pname = "xpad";
  version = "5.4.0";

  src = fetchurl {
    url = "https://launchpad.net/xpad/trunk/${version}/+download/xpad-${version}.tar.bz2";
    sha256 = "1qpmlwn0bcw1q73ag0l0fdnlzmwawfvsy4g9y5b0vyrc58lcp5d3";
  };

  nativeBuildInputs = [ autoreconfHook pkg-config wrapGAppsHook intltool ];

  buildInputs = [ glib gtk3 gtksourceview ];

  meta = with lib; {
    description = "A sticky note application for jotting down things to remember";
    mainProgram = "xpad";
    homepage = "https://launchpad.net/xpad";
    license = licenses.gpl3;
    platforms = platforms.linux;
    maintainers = with maintainers; [ michalrus ];
  };
}