1{ lib
2, stdenv
3, fetchFromGitHub
4, autoreconfHook
5}:
6
7stdenv.mkDerivation rec {
8 pname = "libxdg-basedir";
9 version = "1.2.3";
10
11 src = fetchFromGitHub {
12 owner = "devnev";
13 repo = pname;
14 rev = "refs/tags/libxdg-basedir-${version}";
15 hash = "sha256-ewtUKDdE6k9Q9hglWwhbTU3DTxvIN41t+zf2Gch9Dkk=";
16 };
17
18 nativeBuildInputs = [
19 autoreconfHook
20 ];
21
22 meta = with lib; {
23 description = "Implementation of the XDG Base Directory specification";
24 homepage = "https://github.com/devnev/libxdg-basedir";
25 license = licenses.mit;
26 maintainers = with maintainers; [ nickcao ];
27 platforms = platforms.unix;
28 };
29}