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 {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "binserve";
|
pname = "binserve";
|
||||||
@ -8,13 +8,9 @@ rustPlatform.buildRustPackage rec {
|
|||||||
owner = "mufeedvh";
|
owner = "mufeedvh";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-Chm2xPB0BrLXSZslg9wnbDyHSJRQAvOtpH0Rw6w1q1s=";
|
hash = "sha256-Chm2xPB0BrLXSZslg9wnbDyHSJRQAvOtpH0Rw6w1q1s=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
|
|
||||||
CoreServices
|
|
||||||
];
|
|
||||||
|
|
||||||
cargoLock.lockFile = ./Cargo.lock;
|
cargoLock.lockFile = ./Cargo.lock;
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
cp ${./Cargo.lock} Cargo.lock
|
cp ${./Cargo.lock} Cargo.lock
|
||||||
|
@ -237,9 +237,7 @@ with pkgs;
|
|||||||
|
|
||||||
beebeep = libsForQt5.callPackage ../applications/office/beebeep { };
|
beebeep = libsForQt5.callPackage ../applications/office/beebeep { };
|
||||||
|
|
||||||
binserve = callPackage ../servers/binserve {
|
binserve = callPackage ../servers/binserve { };
|
||||||
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
|
||||||
};
|
|
||||||
|
|
||||||
bloodhound-py = with python3Packages; toPythonApplication bloodhound-py;
|
bloodhound-py = with python3Packages; toPythonApplication bloodhound-py;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user