mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
Merge pull request #309875 from afh/fix-darwin-slumber
slumber: fix darwin build
This commit is contained in:
commit
7633f6b2a4
@ -1,4 +1,10 @@
|
||||
{ lib, stdenv, fetchFromGitHub, rustPlatform }:
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
darwin,
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "slumber";
|
||||
version = "1.1.0";
|
||||
@ -14,12 +20,13 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoHash = "sha256-AK/+1tCdvNucIbxwyqOt/TbOaJPVDOKFEx5NqW2Yd4U=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.AppKit ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Terminal-based HTTP/REST client";
|
||||
homepage = "https://slumber.lucaspickering.me";
|
||||
license = licenses.mit;
|
||||
mainProgram = "slumber";
|
||||
maintainers = with maintainers; [ javaes ];
|
||||
broken = stdenv.isDarwin || stdenv.isAarch64;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user