nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 52 lines 1.1 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 fetchpatch2, 6 autoreconfHook, 7 pkg-config, 8 wrapGAppsHook3, 9 glib, 10 intltool, 11 gtk3, 12 gtksourceview4, 13}: 14 15stdenv.mkDerivation (finalAttrs: { 16 pname = "xpad"; 17 version = "5.8.0"; 18 19 src = fetchurl { 20 url = "https://launchpad.net/xpad/trunk/${finalAttrs.version}/+download/xpad-${finalAttrs.version}.tar.bz2"; 21 hash = "sha256-8mBSMIhQxAaxWtuNhqzTli7xCvIrQnuxpc/07slvguk="; 22 }; 23 24 patches = [ 25 (fetchpatch2 { 26 url = "https://git.launchpad.net/~neil.mayhew/xpad/+git/xpad-1/patch/?id=637c7b51f1b09a28553a926f594f626d363c526a"; 27 hash = "sha256-ipebPkCpgj+5vvFS7QciZgH0CTZS12FdeVILfDReVsY="; 28 }) 29 ]; 30 31 nativeBuildInputs = [ 32 autoreconfHook 33 pkg-config 34 wrapGAppsHook3 35 intltool 36 ]; 37 38 buildInputs = [ 39 glib 40 gtk3 41 gtksourceview4 42 ]; 43 44 meta = { 45 description = "Sticky note application for jotting down things to remember"; 46 mainProgram = "xpad"; 47 homepage = "https://launchpad.net/xpad"; 48 license = lib.licenses.gpl3; 49 platforms = lib.platforms.linux; 50 maintainers = with lib.maintainers; [ michalrus ]; 51 }; 52})