nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 stdenv,
3 lib,
4 fetchFromGitHub,
5 cmake,
6}:
7
8stdenv.mkDerivation {
9 pname = "xdgcpp";
10 version = "0-unstable-2024-05-26";
11
12 src = fetchFromGitHub {
13 owner = "Grumbel";
14 repo = "xdgcpp";
15 rev = "e2c40c081e2ee2d315d1d0b3ae5981d5fd77260e";
16 sha256 = "sha256-eujYRUw8UpDFgEvjHUPsJ/QJN+A+hzcebfgteM9kvXM=";
17 };
18
19 nativeBuildInputs = [ cmake ];
20
21 meta = {
22 description = "Implementation of the XDG Base Directory Specification in C++";
23 maintainers = [ lib.maintainers.SchweGELBin ];
24 platforms = lib.platforms.linux;
25 license = lib.licenses.lgpl3;
26 };
27}