mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 02:44:30 +00:00
netavark: 1.0.1 -> 1.0.2
https://github.com/containers/netavark/releases/tag/v1.0.2
This commit is contained in:
parent
a628dcf9c3
commit
5f7799415a
@ -7,29 +7,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "netavark";
|
||||
version = "1.0.1";
|
||||
version = "1.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "containers";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-r9NoPDFCqmzESxlovs91j0OyunGDmfWJXN+U1f0w2QQ=";
|
||||
sha256 = "sha256-2ElEhKit/XysRsUw+dg7SnhDl+Zf+FJb5pIYpq1ALNs=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-/N9oKzcAwaxI2BbeoYZ2quN+Z3UO67ecpogK2SRG9Dw=";
|
||||
|
||||
preBuild = ''
|
||||
substituteInPlace Cargo.toml \
|
||||
--replace 'build = "build.rs"' ""
|
||||
|
||||
rm build.rs
|
||||
|
||||
export \
|
||||
VERGEN_BUILD_SEMVER="${version}" \
|
||||
VERGEN_BUILD_TIMESTAMP="$SOURCE_DATE_EPOCH" \
|
||||
VERGEN_GIT_SHA="${src.rev}" \
|
||||
VERGEN_RUSTC_HOST_TRIPLE=""
|
||||
'';
|
||||
cargoHash = "sha256-w3qz4ygjIvn+Rxd1JEVO6Ax08leuuJvC4Bk7VygbBh4=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles mandown ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user