1{stdenv, fetchFromGitHub, autoreconfHook}:
2
3stdenv.mkDerivation rec {
4 name = "jo-${version}";
5 version = "1.1";
6
7 src = fetchFromGitHub {
8 owner = "jpmens";
9 repo = "jo";
10
11 rev = "v${version}";
12 sha256="1gn9fa37mfb85dfjznyfgciibf142kp0gisc2l2pnz0zrakbvvy3";
13 };
14
15 enableParallelBuilding = true;
16
17 nativeBuildInputs = [ autoreconfHook ];
18
19 meta = with stdenv.lib; {
20 description = "A small utility to create JSON objects";
21 homepage = https://github.com/jpmens/jo;
22 license = licenses.gpl2Plus;
23 maintainers = [maintainers.markus1189];
24 platforms = platforms.all;
25 };
26}