mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-24 22:27:30 +03:00
commit
ef8335efb1
@ -13,16 +13,16 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "inlyne";
|
pname = "inlyne";
|
||||||
version = "0.3.1";
|
version = "0.3.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "trimental";
|
owner = "trimental";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-B+H3G4jVysqrzWIP+1hktSGnycZLizxhmBCO/lYIr0I=";
|
hash = "sha256-DSi6iS1ySdvGf6FxZpsDOAFpAKx/APcZjxA3Qy0gQBU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-LFL2DVKu/UM7effikZN/IhSD6DrlwO+CF+S60PXULa0=";
|
cargoHash = "sha256-UzegSJGAOBUDN8WluN7fLWS7NfHhm9YY0Zuq6DCIqHo=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
installShellFiles
|
installShellFiles
|
||||||
@ -41,6 +41,12 @@ rustPlatform.buildRustPackage rec {
|
|||||||
darwin.apple_sdk_11_0.frameworks.AppKit
|
darwin.apple_sdk_11_0.frameworks.AppKit
|
||||||
];
|
];
|
||||||
|
|
||||||
|
checkFlags = lib.optionals stdenv.isDarwin [
|
||||||
|
# time out on darwin
|
||||||
|
"--skip=interpreter::tests::centered_image_with_size_align_and_link"
|
||||||
|
"--skip=watcher::tests::the_gauntlet"
|
||||||
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
installShellCompletion --cmd inlyne \
|
installShellCompletion --cmd inlyne \
|
||||||
--bash <($out/bin/inlyne --gen-completions bash) \
|
--bash <($out/bin/inlyne --gen-completions bash) \
|
||||||
|
Loading…
Reference in New Issue
Block a user