aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/tools/jo/default.nix
blob: 0dcd02eb61888f4abdc47cb60758308497cda2c6 (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
{stdenv, fetchFromGitHub, autoreconfHook, pandoc, pkgconfig}:

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

  src = fetchFromGitHub {
    owner  = "jpmens";
    repo = "jo";
    rev = version;
    sha256 ="11miqg0i83drwkn66b4333vhfdw62al11dyfgp30alg6pcab3icl";
  };

  enableParallelBuilding = true;

  nativeBuildInputs = [ autoreconfHook pandoc pkgconfig ];

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