mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-05 12:08:02 +03:00
Merge pull request #325469 from GaetanLepage/rio
This commit is contained in:
commit
7f0d1d3f16
@ -26,12 +26,16 @@
|
|||||||
|
|
||||||
, withWayland ? !stdenv.isDarwin
|
, withWayland ? !stdenv.isDarwin
|
||||||
, wayland
|
, wayland
|
||||||
|
|
||||||
|
, testers
|
||||||
|
, rio
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
rlinkLibs = if stdenv.isDarwin then [
|
rlinkLibs = if stdenv.isDarwin then [
|
||||||
darwin.libobjc
|
darwin.libobjc
|
||||||
darwin.apple_sdk_11_0.frameworks.AppKit
|
darwin.apple_sdk_11_0.frameworks.AppKit
|
||||||
darwin.apple_sdk_11_0.frameworks.AVFoundation
|
darwin.apple_sdk_11_0.frameworks.AVFoundation
|
||||||
|
darwin.apple_sdk_11_0.frameworks.MetalKit
|
||||||
darwin.apple_sdk_11_0.frameworks.Vision
|
darwin.apple_sdk_11_0.frameworks.Vision
|
||||||
] else [
|
] else [
|
||||||
(lib.getLib gcc-unwrapped)
|
(lib.getLib gcc-unwrapped)
|
||||||
@ -51,16 +55,16 @@ let
|
|||||||
in
|
in
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "rio";
|
pname = "rio";
|
||||||
version = "0.1.0";
|
version = "0.1.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "raphamorim";
|
owner = "raphamorim";
|
||||||
repo = "rio";
|
repo = "rio";
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-Jp8f8u9CkY+pz6QaoWp6P6+OqsIjhzXH0eeoBiSDR0k=";
|
hash = "sha256-Hll9QpCN0/NDJ3tgJFnmNjfIotppGg5/BrHMxGmxOTo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-3FirYpHxTRvXgRQACVvmwlaCNTyJ8dLbZ258qv5vbsc=";
|
cargoHash = "sha256-yyxJi0kK2d2I+9GncYHcRKbdngYSltDjsTuChqaDG/U=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
ncurses
|
ncurses
|
||||||
@ -107,7 +111,10 @@ rustPlatform.buildRustPackage rec {
|
|||||||
extraArgs = [ "--version-regex" "v([0-9.]+)" ];
|
extraArgs = [ "--version-regex" "v([0-9.]+)" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
tests.test = nixosTests.terminal-emulators.rio;
|
tests = {
|
||||||
|
test = nixosTests.terminal-emulators.rio;
|
||||||
|
version = testers.testVersion { package = rio; };
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
@ -118,5 +125,11 @@ rustPlatform.buildRustPackage rec {
|
|||||||
platforms = lib.platforms.unix;
|
platforms = lib.platforms.unix;
|
||||||
changelog = "https://github.com/raphamorim/rio/blob/v${version}/CHANGELOG.md";
|
changelog = "https://github.com/raphamorim/rio/blob/v${version}/CHANGELOG.md";
|
||||||
mainProgram = "rio";
|
mainProgram = "rio";
|
||||||
|
# ---- corcovado/src/sys/unix/eventedfd.rs - sys::unix::eventedfd::EventedFd (line 31) stdout ----
|
||||||
|
# Test executable failed (exit status: 101).
|
||||||
|
# stderr:
|
||||||
|
# thread 'main' panicked at corcovado/src/sys/unix/eventedfd.rs:24:16:
|
||||||
|
# called `Result::unwrap()` on an `Err` value: Os { code: 1, kind: PermissionDenied, message: "Operation not permitted" }
|
||||||
|
broken = stdenv.isDarwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user