repro-env: init at 0.4.3

This commit is contained in:
Pol Dellaiera
2025-04-24 21:53:13 +02:00
parent 5297420bba
commit 75f756da0f
+36
View File
@@ -0,0 +1,36 @@
{
lib,
rustPlatform,
fetchFromGitHub,
versionCheckHook,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "repro-env";
version = "0.4.3";
src = fetchFromGitHub {
owner = "kpcyrd";
repo = "repro-env";
tag = "v${finalAttrs.version}";
hash = "sha256-ViOUS7prwLl2C2BOlwqshFks+q+xeiAD4ONdKUcDgWU=";
};
cargoHash = "sha256-0ljIt84CqcdC01YXU6J7RlvkN/nlU6Thige8TricFus=";
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "--version";
meta = {
changelog = "https://github.com/kpcyrd/repro-env/releases/tag/v${finalAttrs.version}";
description = "Dependency lockfiles for reproducible build environments";
homepage = "https://github.com/kpcyrd/repro-env";
license = with lib.licenses; [
asl20
mit
];
maintainers = with lib.maintainers; [ drupol ];
mainProgram = "repro-env";
};
})