mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 09:14:28 +00:00
aba: 0.7.1 -> 0.8.0
This commit is contained in:
parent
f2e6c5bcb4
commit
29d1b59b2d
@ -6,7 +6,7 @@
|
|||||||
, scdoc
|
, scdoc
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
version = "0.7.1";
|
version = "0.8.0";
|
||||||
in
|
in
|
||||||
rustPlatform.buildRustPackage {
|
rustPlatform.buildRustPackage {
|
||||||
pname = "aba";
|
pname = "aba";
|
||||||
@ -16,11 +16,10 @@ rustPlatform.buildRustPackage {
|
|||||||
owner = "~onemoresuza";
|
owner = "~onemoresuza";
|
||||||
repo = "aba";
|
repo = "aba";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-Sz9I1Dw7wmoUPpTBNfbYbehfNO8FK6r/ubofx+FGb04=";
|
hash = "sha256-2zVQNchL4DFh2v2/kwupJTBSmXiKqlxzUMrP9TbfCMs=";
|
||||||
domain = "sr.ht";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-Ihoh+yp12qN74JHvJbEDoYz+eoMwPOQar+yBEy+bqb0=";
|
cargoHash = "sha256-YhSzbfcEIJjKWlyYq1lK70qt4f/Z71n7hgaaZ/D/U80=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
just
|
just
|
||||||
@ -28,9 +27,8 @@ rustPlatform.buildRustPackage {
|
|||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# Suppress messages of command not found. jq is not needed for the build, but just calls it anyway.
|
# Let only nix strip the binary by disabling cargo's `strip = true`, like
|
||||||
sed -i '/[[:space:]]*|[[:space:]]*jq -r/s/jq -r .*/: \\/' ./justfile
|
# buildRustPackage does when not using just's setup hooks.
|
||||||
# Let only nix strip the binary by disabling cargo's `strip = true`, like buildRustPackage does.
|
|
||||||
sed -i '/strip[[:space:]]*=[[:space:]]*true/s/true/false/' ./Cargo.toml
|
sed -i '/strip[[:space:]]*=[[:space:]]*true/s/true/false/' ./Cargo.toml
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@ -38,7 +36,7 @@ rustPlatform.buildRustPackage {
|
|||||||
justFlagsArray+=(
|
justFlagsArray+=(
|
||||||
PREFIX=${builtins.placeholder "out"}
|
PREFIX=${builtins.placeholder "out"}
|
||||||
MANIFEST_OPTS="--frozen --locked --profile=release"
|
MANIFEST_OPTS="--frozen --locked --profile=release"
|
||||||
INSTALL_OPTS=--no-track
|
INSTALL_OPTS="--no-track"
|
||||||
)
|
)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user