rq: drop obsolete inputs
Current releases of rq no longer use v8
This commit is contained in:
parent
6fb85f6a03
commit
f299d8b494
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub, rustPlatform, libiconv, llvmPackages, v8 }:
|
{ stdenv, lib, fetchFromGitHub, rustPlatform }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "rq";
|
pname = "rq";
|
||||||
@ -13,9 +13,6 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
cargoSha256 = "0071q08f75qrxdkbx1b9phqpbj15r79jbh391y32acifi7hr35hj";
|
cargoSha256 = "0071q08f75qrxdkbx1b9phqpbj15r79jbh391y32acifi7hr35hj";
|
||||||
|
|
||||||
buildInputs = [ llvmPackages.libclang v8 ]
|
|
||||||
++ lib.optionals stdenv.isDarwin [ libiconv ];
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# Remove #[deny(warnings)] which is equivalent to -Werror in C.
|
# Remove #[deny(warnings)] which is equivalent to -Werror in C.
|
||||||
# Prevents build failures when upgrading rustc, which may give more warnings.
|
# Prevents build failures when upgrading rustc, which may give more warnings.
|
||||||
@ -23,11 +20,6 @@ rustPlatform.buildRustPackage rec {
|
|||||||
--replace "#![deny(warnings)]" ""
|
--replace "#![deny(warnings)]" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = ''
|
|
||||||
export LIBCLANG_PATH="${llvmPackages.libclang.lib}/lib"
|
|
||||||
export V8_SOURCE="${v8}"
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A tool for doing record analysis and transformation";
|
description = "A tool for doing record analysis and transformation";
|
||||||
homepage = "https://github.com/dflemstr/rq";
|
homepage = "https://github.com/dflemstr/rq";
|
||||||
|
@ -8489,9 +8489,7 @@ in
|
|||||||
|
|
||||||
routino = callPackage ../tools/misc/routino { };
|
routino = callPackage ../tools/misc/routino { };
|
||||||
|
|
||||||
rq = callPackage ../development/tools/rq {
|
rq = callPackage ../development/tools/rq { };
|
||||||
inherit (darwin) libiconv;
|
|
||||||
};
|
|
||||||
|
|
||||||
rs-git-fsmonitor = callPackage ../applications/version-management/git-and-tools/rs-git-fsmonitor { };
|
rs-git-fsmonitor = callPackage ../applications/version-management/git-and-tools/rs-git-fsmonitor { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user