mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
xdg-user-dirs: new package
A tool to help manage well known user directories like the desktop folder and the music folder http://freedesktop.org/wiki/Software/xdg-user-dirs
This commit is contained in:
parent
ec021b116d
commit
92a831a4ec
@ -67,6 +67,9 @@ in {
|
||||
# Don't let epiphany depend upon gnome-shell
|
||||
export XDG_DATA_DIRS=$XDG_DATA_DIRS''${XDG_DATA_DIRS:+:}${pkgs.gnome3.gnome_shell}/share/gsettings-schemas/${pkgs.gnome3.gnome_shell.name}
|
||||
|
||||
# Update user dirs as described in http://freedesktop.org/wiki/Software/xdg-user-dirs/
|
||||
${pkgs.xdg-user-dirs}/bin/xdg-user-dirs-update
|
||||
|
||||
${gnome3.gnome_session}/bin/gnome-session&
|
||||
waitPID=$!
|
||||
'';
|
||||
|
20
pkgs/tools/X11/xdg-user-dirs/default.nix
Normal file
20
pkgs/tools/X11/xdg-user-dirs/default.nix
Normal file
@ -0,0 +1,20 @@
|
||||
{ stdenv, fetchurl, libxslt, docbook_xsl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "xdg-user-dirs-0.15";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://user-dirs.freedesktop.org/releases/${name}.tar.gz";
|
||||
sha256 = "20b4a751f41d0554bce3e0ce5e8d934be98cc62d48f0b90a894c3e1916552786";
|
||||
};
|
||||
|
||||
buildInputs = [ libxslt docbook_xsl ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://freedesktop.org/wiki/Software/xdg-user-dirs;
|
||||
description = "A tool to help manage well known user directories like the desktop folder and the music folder";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ lethalman ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -9455,6 +9455,8 @@ let
|
||||
|
||||
xdaliclock = callPackage ../tools/misc/xdaliclock {};
|
||||
|
||||
xdg-user-dirs = callPackage ../tools/X11/xdg-user-dirs { };
|
||||
|
||||
xdg_utils = callPackage ../tools/X11/xdg-utils { };
|
||||
|
||||
xdotool = callPackage ../tools/X11/xdotool { };
|
||||
|
Loading…
Reference in New Issue
Block a user