stylance-cli: 0.7.1 -> 0.7.4, add version test (#464612)
This commit is contained in:
@@ -2,17 +2,25 @@
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchCrate,
|
||||
versionCheckHook,
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
let
|
||||
pname = "stylance-cli";
|
||||
version = "0.7.1";
|
||||
version = "0.7.4";
|
||||
in
|
||||
rustPlatform.buildRustPackage {
|
||||
inherit pname version;
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
hash = "sha256-Cdv+Lz+l0+8Jdk9stHACXDbUPedM/YryDMExdsqVvsU=";
|
||||
hash = "sha256-lGgKmNqZ0nflVAM3GMDwGgxnXyLCqVz1bTUsvabXmj8=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-cwgR5AHCeS9YkaJlyFxvEOrBXg7/tXNGXgtSEPHAwm4=";
|
||||
cargoHash = "sha256-HWZQNEKTyNnmA1twN5cfo5RY2tOeCnL6zEp+M4F+Tqg=";
|
||||
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
doInstallCheck = true;
|
||||
versionCheckProgramArg = "--version";
|
||||
|
||||
meta = {
|
||||
description = "Library and cli tool for working with scoped CSS in rust";
|
||||
|
||||
Reference in New Issue
Block a user