Skip to content

Commit 426d8e9

Browse files
authored
mprocs: 0.7.1 -> 0.7.2 (NixOS#375444)
2 parents 1371a55 + 7562f48 commit 426d8e9

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

pkgs/by-name/mp/mprocs/package.nix

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,31 @@
22
lib,
33
fetchFromGitHub,
44
rustPlatform,
5+
versionCheckHook,
56
nix-update-script,
6-
testers,
7-
mprocs,
87
}:
98

109
rustPlatform.buildRustPackage rec {
1110
pname = "mprocs";
12-
version = "0.7.1";
11+
version = "0.7.2";
1312

1413
src = fetchFromGitHub {
1514
owner = "pvolok";
1615
repo = "mprocs";
1716
tag = "v${version}";
18-
sha256 = "sha256-gK2kgc0Y0s1xys+pUadi8BhGeYxtyKRhNycCoqftmDI=";
17+
hash = "sha256-bNA+P6Mnhxi6YH5gAUwvAPN7STUvwDnU/r/ZBYwzgrw=";
1918
};
2019

21-
cargoHash = "sha256-lcs+x2devOEZg5YwAzlZKJl6VpCJXzVqNUr6N5pCei8=";
20+
cargoHash = "sha256-1S2KD4N6HAAOIyXWHGwItNIDj3iyh4A9LBXQTxWb0kI=";
21+
22+
nativeInstallCheckInputs = [
23+
versionCheckHook
24+
];
25+
versionCheckProgramArg = [ "--version" ];
26+
doInstallCheck = true;
2227

2328
passthru = {
2429
updateScript = nix-update-script { };
25-
tests.version = testers.testVersion { package = mprocs; };
2630
};
2731

2832
meta = {

0 commit comments

Comments
 (0)