mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-07 06:12:58 +00:00
3de0aae69c
The "src.rev" was changed because upstream tag does not have the "v" prefix for this version. A little bit of code formatting was done as well. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
26 lines
590 B
Nix
26 lines
590 B
Nix
{stdenv, fetchFromGitHub, autoreconfHook}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "jo";
|
|
version = "1.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jpmens";
|
|
repo = "jo";
|
|
rev = version;
|
|
sha256 ="03b22zb5034ccqyp4ynfzknxagb3jz2dppl0kqz2nv4a08aglpmy";
|
|
};
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A small utility to create JSON objects";
|
|
homepage = https://github.com/jpmens/jo;
|
|
license = licenses.gpl2Plus;
|
|
maintainers = [maintainers.markus1189];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|