forked from mirrors/nixpkgs
Merge pull request #153290 from max-niederman/pkg/perseus-cli
perseus-cli: 0.3.0 -> 0.3.1
This commit is contained in:
commit
bb87f972b3
|
@ -1,17 +1,25 @@
|
|||
{ lib, rustPlatform, fetchCrate, makeWrapper, wasm-pack }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, rustPlatform
|
||||
, fetchCrate
|
||||
, makeWrapper
|
||||
, wasm-pack
|
||||
, CoreServices
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "perseus-cli";
|
||||
version = "0.3.0";
|
||||
version = "0.3.1";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-YyQQjuxNUxuo2PFluGyT/CpG22tgjRCfmFKA5MFRgHo=";
|
||||
sha256 = "sha256-IYjLx9/4oWSXa4jhOtGw1GOHmrR7LQ6bWyN5zbOuEFs=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-SKxPsltXFH+ENexn/KDD43hGLSTgvtU9hv9Vdi2oeFA=";
|
||||
cargoSha256 = "sha256-i7MPmO9MoANZLzmR5gsD+v0gyDtFbzhsmE9xOsb88L0=";
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/perseus \
|
||||
|
|
|
@ -604,7 +604,9 @@ with pkgs;
|
|||
|
||||
packr = callPackage ../development/libraries/packr { };
|
||||
|
||||
perseus-cli = callPackage ../development/tools/perseus-cli { };
|
||||
perseus-cli = callPackage ../development/tools/perseus-cli {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
||||
};
|
||||
|
||||
pet = callPackage ../development/tools/pet { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue