summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/li/libxdg_basedir/package.nix
blob: 1c63edf0269af0f99fc10af040c8dcaf45fddbb3 (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
29
30
{
  lib,
  stdenv,
  fetchFromGitHub,
  autoreconfHook,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "libxdg-basedir";
  version = "1.2.3";

  src = fetchFromGitHub {
    owner = "devnev";
    repo = "libxdg-basedir";
    tag = "libxdg-basedir-${finalAttrs.version}";
    hash = "sha256-ewtUKDdE6k9Q9hglWwhbTU3DTxvIN41t+zf2Gch9Dkk=";
  };

  nativeBuildInputs = [
    autoreconfHook
  ];

  meta = {
    description = "Implementation of the XDG Base Directory specification";
    homepage = "https://github.com/devnev/libxdg-basedir";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ nickcao ];
    platforms = lib.platforms.unix;
  };
})