stork: 1.3.0 -> 1.4.0
* stork: 1.3.0 -> 1.4.0 (#157416) * stork: add Security framework and mark broken for x64 darwin build - The Security framework is needed to build on Darwin. - It currently fails on x86_64-darwin because the SDK is too old. - For more details, see #157416.
This commit is contained in:
parent
90cdc0cc2f
commit
157b6703ea
@ -3,29 +3,35 @@
|
|||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, openssl
|
, openssl
|
||||||
, pkg-config
|
, pkg-config
|
||||||
|
, stdenv
|
||||||
|
, darwin
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "stork";
|
pname = "stork";
|
||||||
version = "1.3.0";
|
version = "1.4.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jameslittle230";
|
owner = "jameslittle230";
|
||||||
repo = "stork";
|
repo = "stork";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-or8PDEj97ChZq6r3WlwETYbU6EvoEuh8HfTyBIbbO8M=";
|
sha256 = "sha256-9fylJcUuModemkBRnXeFfB1b+CD9IvTxW+CnlqaUb60=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-UpIPbY2beO1H0YR9kV1SkG6C3qcO4x2acfgqI3x5jiM=";
|
cargoSha256 = "sha256-j7OXl66xuTuP6hWJs+xHrwtaBGAYt02OESCN6FH3KX0=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
buildInputs = [ openssl ];
|
buildInputs = [ openssl ]
|
||||||
|
++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Impossibly fast web search, made for static sites";
|
description = "Impossibly fast web search, made for static sites";
|
||||||
homepage = "https://github.com/jameslittle230/stork";
|
homepage = "https://github.com/jameslittle230/stork";
|
||||||
license = with licenses; [ asl20 ];
|
license = with licenses; [ asl20 ];
|
||||||
maintainers = with maintainers; [ chuahou ];
|
maintainers = with maintainers; [ chuahou ];
|
||||||
|
# TODO: Remove once nixpkgs uses macOS SDK 10.14+ for x86_64-darwin
|
||||||
|
# Undefined symbols for architecture x86_64: "_SecTrustEvaluateWithError"
|
||||||
|
broken = stdenv.isDarwin && stdenv.isx86_64;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user