Added homepage where missing, where the sources are pulled from: - https://github.com - https://git.sr.ht - https://gitlab.com - https://invent.kde.org - https://codeberg.org - https://gitlab.gnome.org - https://gitlab.freedesktop.org - https://git.FreeBSD.org - https://salsa.debian.org - https://git.tvdr.de - https://git.suckless.org
29 lines
638 B
Nix
29 lines
638 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "xdgcpp";
|
|
version = "0-unstable-2024-05-26";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Grumbel";
|
|
repo = "xdgcpp";
|
|
rev = "e2c40c081e2ee2d315d1d0b3ae5981d5fd77260e";
|
|
sha256 = "sha256-eujYRUw8UpDFgEvjHUPsJ/QJN+A+hzcebfgteM9kvXM=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
meta = {
|
|
description = "Implementation of the XDG Base Directory Specification in C++";
|
|
homepage = "https://github.com/Grumbel/xdgcpp";
|
|
maintainers = [ lib.maintainers.SchweGELBin ];
|
|
platforms = lib.platforms.linux;
|
|
license = lib.licenses.lgpl3;
|
|
};
|
|
}
|