diff options
author | superherointj <5861043+superherointj@users.noreply.github.com> | 2022-09-30 23:05:29 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-30 23:05:29 -0300 |
commit | bd47f0f5bd6f7424218b40550a02fe508fb5ad6e (patch) | |
tree | 73446a5f9db5e99345793cd59b3049b20b255729 | |
parent | 38ab351f44e1354daf1f311a8568eed050c46129 (diff) | |
parent | ebf2df23127d2c3d104622484e530498aa8deef1 (diff) |
Merge pull request #193804 from figsoda/fix-rq-version
rq: fix version output, add figsoda as a maintainer
-rw-r--r-- | pkgs/development/tools/rq/default.nix | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/development/tools/rq/default.nix b/pkgs/development/tools/rq/default.nix index 52420c8af928..17a85c0145e8 100644 --- a/pkgs/development/tools/rq/default.nix +++ b/pkgs/development/tools/rq/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, fetchFromGitHub, rustPlatform }: +{ lib, rustPlatform, fetchFromGitHub }: rustPlatform.buildRustPackage rec { pname = "rq"; @@ -18,12 +18,18 @@ rustPlatform.buildRustPackage rec { # Prevents build failures when upgrading rustc, which may give more warnings. substituteInPlace src/lib.rs \ --replace "#![deny(warnings)]" "" + + # build script tries to get version information from git + # this fixes the --version output + rm build.rs ''; + VERGEN_SEMVER = version; + 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 Br1ght0ne ]; + maintainers = with maintainers; [ aristid Br1ght0ne figsoda ]; }; } |