nixpkgs/pkgs/development/tools/jo/default.nix

26 lines
628 B
Nix
Raw Normal View History

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