summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/xd/xdgcpp/package.nix
blob: 3853360be99a05c564cf798cd71851679cc472a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
  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;
  };
}