perseus-cli: 0.3.0 -> 0.3.1

This commit is contained in:
Max Niederman 2022-01-02 17:38:31 -08:00
parent 4bc4c7f1a0
commit 6b628a3987
No known key found for this signature in database
GPG key ID: C2EB24390E0AC0FF
2 changed files with 15 additions and 5 deletions

View file

@ -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 \

View file

@ -519,7 +519,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 { };