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