about summary refs log tree commit diff
path: root/pkgs/development/tools/jo/default.nix
blob: 8ec8deaefe0086d15a26fdf8a7a3c10339c44509 (plain) (blame)
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
{lib, stdenv, fetchFromGitHub, autoreconfHook, pandoc, pkg-config}:

stdenv.mkDerivation rec {
  pname = "jo";
  version = "1.6";

  src = fetchFromGitHub {
    owner  = "jpmens";
    repo = "jo";
    rev = version;
    sha256 ="sha256-aATCeJV0x+XHOQbwulutxivPzGVQ0mJj90vA+6IM124=";
  };

  enableParallelBuilding = true;

  nativeBuildInputs = [ autoreconfHook pandoc pkg-config ];

  meta = with lib; {
    description = "A small utility to create JSON objects";
    homepage = "https://github.com/jpmens/jo";
    license = licenses.gpl2Plus;
    maintainers = [maintainers.markus1189];
    platforms = platforms.all;
  };
}