binserve: use new Darwin SDK pattern
This commit is contained in:
parent
6fc16edd8d
commit
ff4de5d922
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, rustPlatform, CoreServices }:
|
||||
{ lib, fetchFromGitHub, rustPlatform }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "binserve";
|
||||
@ -8,13 +8,9 @@ rustPlatform.buildRustPackage rec {
|
||||
owner = "mufeedvh";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-Chm2xPB0BrLXSZslg9wnbDyHSJRQAvOtpH0Rw6w1q1s=";
|
||||
hash = "sha256-Chm2xPB0BrLXSZslg9wnbDyHSJRQAvOtpH0Rw6w1q1s=";
|
||||
};
|
||||
|
||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
CoreServices
|
||||
];
|
||||
|
||||
cargoLock.lockFile = ./Cargo.lock;
|
||||
postPatch = ''
|
||||
cp ${./Cargo.lock} Cargo.lock
|
||||
|
@ -237,9 +237,7 @@ with pkgs;
|
||||
|
||||
beebeep = libsForQt5.callPackage ../applications/office/beebeep { };
|
||||
|
||||
binserve = callPackage ../servers/binserve {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
||||
};
|
||||
binserve = callPackage ../servers/binserve { };
|
||||
|
||||
bloodhound-py = with python3Packages; toPythonApplication bloodhound-py;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user