nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 fetchFromGitHub,
3 lib,
4 stdenv,
5 autoreconfHook,
6}:
7
8stdenv.mkDerivation (finalAttrs: {
9 pname = "dotconf";
10 version = "1.4.1";
11
12 src = fetchFromGitHub {
13 owner = "williamh";
14 repo = "dotconf";
15 rev = "v${finalAttrs.version}";
16 sha256 = "sha256-6Du26Ffz08DLGg6uIiPi8Sgjf691MM2kn0qXe3oFeTw=";
17 };
18
19 nativeBuildInputs = [ autoreconfHook ];
20
21 meta = {
22 description = "Configuration parser library";
23 maintainers = with lib.maintainers; [ pSub ];
24 homepage = "https://github.com/williamh/dotconf";
25 license = lib.licenses.lgpl21Plus;
26 platforms = with lib.platforms; unix;
27 };
28})