1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 14:47:06 +00:00
nixpkgs/pkgs/development/tools/rq/default.nix
Benjamin Hipple a1927899f7 rq: upgrade cargo fetcher and cargoSha256
Infra upgrade as part of #79975; ran `nixpkgs-review wip` successfully.
2020-02-16 16:49:11 -05:00

31 lines
839 B
Nix

{ lib, fetchFromGitHub, rustPlatform, libiconv, llvmPackages, v8 }:
rustPlatform.buildRustPackage rec {
pname = "rq";
version = "1.0.2";
src = fetchFromGitHub {
owner = "dflemstr";
repo = pname;
rev = "v${version}";
sha256 = "0km9d751jr6c5qy4af6ks7nv3xfn13iqi03wq59a1c73rnf0zinp";
};
cargoSha256 = "0c5vwy3c5ji602dj64z6jqvcpi2xff03zvjbnwihb3ydqwnb3v67";
buildInputs = [ llvmPackages.clang-unwrapped v8 ];
configurePhase = ''
export LIBCLANG_PATH="${llvmPackages.clang-unwrapped}/lib"
export V8_SOURCE="${v8}"
'';
meta = with lib; {
description = "A tool for doing record analysis and transformation";
homepage = "https://github.com/dflemstr/rq";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ aristid filalex77 ];
platforms = platforms.all;
};
}