Merge pull request #295580 from donovanglover/xdg-user-dirs

xdg-user-dirs: add myself as maintainer
This commit is contained in:
Weijia Wang 2024-03-13 14:01:18 +01:00 committed by GitHub
commit bc8a20022a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 21 additions and 9 deletions

View File

@ -1,17 +1,30 @@
{ lib, stdenv, fetchurl, libxslt, docbook_xsl, gettext, libiconv, makeWrapper }:
{
lib,
stdenv,
fetchurl,
libxslt,
docbook_xsl,
gettext,
libiconv,
makeWrapper,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "xdg-user-dirs";
version = "0.18";
src = fetchurl {
url = "https://user-dirs.freedesktop.org/releases/xdg-user-dirs-${version}.tar.gz";
sha256 = "sha256-7G8G10lc26N6cyA5+bXhV4vLKWV2/eDaQO2y9SIg3zw=";
url = "https://user-dirs.freedesktop.org/releases/xdg-user-dirs-${finalAttrs.version}.tar.gz";
hash = "sha256-7G8G10lc26N6cyA5+bXhV4vLKWV2/eDaQO2y9SIg3zw=";
};
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
nativeBuildInputs = [ makeWrapper libxslt docbook_xsl ] ++ lib.optionals stdenv.isDarwin [ gettext ];
nativeBuildInputs = [
makeWrapper
libxslt
docbook_xsl
] ++ lib.optionals stdenv.isDarwin [ gettext ];
preFixup = ''
# fallback values need to be last
@ -23,7 +36,8 @@ stdenv.mkDerivation rec {
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; [ ];
maintainers = with maintainers; [ donovanglover ];
platforms = platforms.unix;
mainProgram = "xdg-user-dirs-update";
};
}
})

View File

@ -36213,8 +36213,6 @@ with pkgs;
xdg-desktop-portal-xapp = callPackage ../development/libraries/xdg-desktop-portal-xapp { };
xdg-user-dirs = callPackage ../tools/X11/xdg-user-dirs { };
xdg-utils = callPackage ../tools/X11/xdg-utils {};
xdgmenumaker = callPackage ../applications/misc/xdgmenumaker { };