xdg-launch: init at 1.10

+59
+57
pkgs/applications/misc/xdg-launch/default.nix
··· 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub 4 + , autoconf 5 + , automake 6 + , gettext 7 + , libtool 8 + , perl 9 + , pkg-config 10 + , glib 11 + , xorg 12 + }: 13 + stdenv.mkDerivation rec { 14 + pname = "xdg-launch"; 15 + version = "1.10"; 16 + 17 + postPatch = '' 18 + # fix gettext configuration 19 + echo 'AM_GNU_GETTEXT_VERSION' >> configure.ac 20 + echo 'AM_GNU_GETTEXT([external])' >> configure.ac 21 + 22 + sed -i data/*.desktop \ 23 + -e "s,/usr/bin,/$out/bin,g" 24 + ''; 25 + 26 + src = fetchFromGitHub { 27 + owner = "bbidulock"; 28 + repo = pname; 29 + rev = version; 30 + sha256 = "sha256-WY1TAPnXAn5GOaP9aMHar761m1MkKm4vavLlWELWUu8="; 31 + }; 32 + 33 + preConfigure = "./autogen.sh"; 34 + 35 + buildInputs = [ 36 + xorg.libX11 37 + xorg.libXrandr 38 + glib # can be optional 39 + ]; 40 + 41 + nativeBuildInputs = [ 42 + autoconf 43 + automake 44 + gettext 45 + libtool 46 + perl # pod2man 47 + pkg-config 48 + ]; 49 + 50 + meta = with lib; { 51 + homepage = "https://github.com/bbidulock/xdg-launch"; 52 + description = "A command line XDG compliant launcher and tools"; 53 + license = licenses.gpl3; 54 + platforms = platforms.linux; 55 + maintainers = [ maintainers.ck3d ]; 56 + }; 57 + }
+2
pkgs/top-level/all-packages.nix
··· 8290 8290 8291 8291 xbrightness = callPackage ../tools/X11/xbrightness { }; 8292 8292 8293 + xdg-launch = callPackage ../applications/misc/xdg-launch { }; 8294 + 8293 8295 xkbvalidate = callPackage ../tools/X11/xkbvalidate { }; 8294 8296 8295 8297 xfstests = callPackage ../tools/misc/xfstests { };