2021-01-23 04:26:19 -08:00
|
|
|
{lib, stdenv, fetchFromGitHub, autoreconfHook, pandoc, pkg-config}:
|
2016-03-11 03:37:23 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-05-06 03:17:04 -07:00
|
|
|
pname = "jo";
|
2020-07-19 00:51:19 -07:00
|
|
|
version = "1.4";
|
2016-03-11 03:37:23 -08:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-05-06 03:17:04 -07:00
|
|
|
owner = "jpmens";
|
2016-03-11 03:37:23 -08:00
|
|
|
repo = "jo";
|
2019-05-06 03:17:04 -07:00
|
|
|
rev = version;
|
2020-07-19 00:51:19 -07:00
|
|
|
sha256 ="1jnv3g38vaa66m83hqibyki31ii81xfpvjw6wgdv18ci3iwvsz3v";
|
2016-03-11 03:37:23 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-18 22:50:56 -08:00
|
|
|
nativeBuildInputs = [ autoreconfHook pandoc pkg-config ];
|
2016-03-11 03:37:23 -08:00
|
|
|
|
2021-01-23 04:26:19 -08:00
|
|
|
meta = with lib; {
|
2016-03-11 03:37:23 -08:00
|
|
|
description = "A small utility to create JSON objects";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/jpmens/jo";
|
2016-03-11 03:37:23 -08:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = [maintainers.markus1189];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|