2021-02-05 17:12:51 +00:00
|
|
|
{lib, stdenv, fetchFromGitHub, autoreconfHook, pandoc, pkg-config}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "jo";
|
2020-08-20 17:08:02 +00:00
|
|
|
version = "1.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jpmens";
|
|
|
|
repo = "jo";
|
|
|
|
rev = version;
|
2020-08-20 17:08:02 +00:00
|
|
|
sha256 ="1jnv3g38vaa66m83hqibyki31ii81xfpvjw6wgdv18ci3iwvsz3v";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pandoc pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A small utility to create JSON objects";
|
|
|
|
homepage = "https://github.com/jpmens/jo";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = [maintainers.markus1189];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|