2016-12-03 22:36:48 +00:00
|
|
|
{ stdenv, fetchFromGitHub, rustPlatform, llvmPackages, v8 }:
|
|
|
|
|
|
|
|
with rustPlatform;
|
|
|
|
|
|
|
|
buildRustPackage rec {
|
2019-08-31 11:41:23 +00:00
|
|
|
pname = "rq";
|
2017-04-07 18:43:19 +00:00
|
|
|
version = "0.10.4";
|
2016-12-03 22:36:48 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dflemstr";
|
|
|
|
repo = "rq";
|
|
|
|
rev = "v${version}";
|
2017-04-07 18:43:19 +00:00
|
|
|
sha256 = "066f6sdy0vrp113wlg18q9p0clyrg9iqbj17ly0yn8dxr5iar002";
|
2016-12-03 22:36:48 +00:00
|
|
|
};
|
|
|
|
|
2019-05-25 11:03:08 +00:00
|
|
|
cargoSha256 = "1n92d82l9wqrpsbkqiir6zsgf12xp4xb6bxq2nywg4lmwrnyapbh";
|
2016-12-03 22:36:48 +00:00
|
|
|
|
|
|
|
buildInputs = [ llvmPackages.clang-unwrapped v8 ];
|
|
|
|
|
|
|
|
configurePhase = ''
|
|
|
|
export LIBCLANG_PATH="${llvmPackages.clang-unwrapped}/lib"
|
|
|
|
export V8_SOURCE="${v8}"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A tool for doing record analysis and transformation";
|
|
|
|
homepage = https://github.com/dflemstr/rq ;
|
|
|
|
license = with licenses; [ asl20 ];
|
|
|
|
maintainers = [ maintainers.aristid ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
broken = true;
|
|
|
|
};
|
|
|
|
}
|