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