3
0
Fork 0
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:
Artturi 2022-05-06 13:16:12 +03:00 committed by GitHub
commit bb87f972b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

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