nixpkgs/pkgs/applications/misc/xpad/default.nix

30 lines
808 B
Nix
Raw Normal View History

{ stdenv, fetchurl
, autoreconfHook, pkgconfig, wrapGAppsHook
, glib, intltool, gtk3, gtksourceview }:
stdenv.mkDerivation rec {
name = "xpad-${version}";
version = "5.1.0";
src = fetchurl {
url = "https://launchpad.net/xpad/trunk/${version}/+download/xpad-${version}.tar.bz2";
sha256 = "0l0g5x8g6dwhf5ksnqqrjjsycy57kcvdslkmsr6bl3vrsjd7qml3";
};
nativeBuildInputs = [ autoreconfHook pkgconfig wrapGAppsHook ];
buildInputs = [ glib intltool gtk3 gtksourceview ];
autoreconfPhase = ''
./autogen.sh
'';
meta = with stdenv.lib; {
description = "A sticky note application for jotting down things to remember";
homepage = https://launchpad.net/xpad;
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ michalrus ];
};
}