diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-07-30 12:56:38 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-30 12:56:38 +0000 |
commit | 14fddd36f1ff7bc2bb6206f5406fb1df34ffec87 (patch) | |
tree | 90694cc01e0789cf53a680fe61f6719eb822131c /pkgs/development | |
parent | 80359c607bcd36d64e537798d360dcf56c178b17 (diff) | |
parent | 5e80b47d56bf2622a39e18c1ea05b1226627f834 (diff) | |
download | nixpkgs-14fddd36f1ff7bc2bb6206f5406fb1df34ffec87.tar nixpkgs-14fddd36f1ff7bc2bb6206f5406fb1df34ffec87.tar.gz nixpkgs-14fddd36f1ff7bc2bb6206f5406fb1df34ffec87.tar.bz2 nixpkgs-14fddd36f1ff7bc2bb6206f5406fb1df34ffec87.tar.lz nixpkgs-14fddd36f1ff7bc2bb6206f5406fb1df34ffec87.tar.xz nixpkgs-14fddd36f1ff7bc2bb6206f5406fb1df34ffec87.tar.zst nixpkgs-14fddd36f1ff7bc2bb6206f5406fb1df34ffec87.zip |
Merge pull request #132069 from SuperSandro2000/jq
jq: format, update meta
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/tools/jq/default.nix | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/pkgs/development/tools/jq/default.nix b/pkgs/development/tools/jq/default.nix index feeb22e1d44..7206a6d7d24 100644 --- a/pkgs/development/tools/jq/default.nix +++ b/pkgs/development/tools/jq/default.nix @@ -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; }; } |