mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 20:07:51 +00:00
Merge pull request #132069 from SuperSandro2000/jq
jq: format, update meta
This commit is contained in:
commit
14fddd36f1
@ -1,5 +1,11 @@
|
||||
{ lib, stdenv, fetchpatch, fetchFromGitHub, autoreconfHook
|
||||
, onigurumaSupport ? true, oniguruma }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchpatch
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
, onigurumaSupport ? true
|
||||
, oniguruma
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "jq";
|
||||
@ -46,8 +52,8 @@ stdenv.mkDerivation rec {
|
||||
"--datadir=\${doc}/share"
|
||||
"--mandir=\${man}/share/man"
|
||||
] ++ lib.optional (!onigurumaSupport) "--with-oniguruma=no"
|
||||
# jq is linked to libjq:
|
||||
++ lib.optional (!stdenv.isDarwin) "LDFLAGS=-Wl,-rpath,\\\${libdir}";
|
||||
# jq is linked to libjq:
|
||||
++ lib.optional (!stdenv.isDarwin) "LDFLAGS=-Wl,-rpath,\\\${libdir}";
|
||||
|
||||
doInstallCheck = true;
|
||||
installCheckTarget = "check";
|
||||
@ -63,8 +69,8 @@ stdenv.mkDerivation rec {
|
||||
description = "A lightweight and flexible command-line JSON processor";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ raskin globin ];
|
||||
platforms = with platforms; linux ++ darwin;
|
||||
downloadPage = "http://stedolan.github.io/jq/download/";
|
||||
platforms = platforms.unix;
|
||||
downloadPage = "https://stedolan.github.io/jq/download/";
|
||||
updateWalker = true;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user