menyoki: 1.6.0 -> 1.6.1
This commit is contained in:
parent
6372876b36
commit
78ed4d7a93
|
@ -4,6 +4,8 @@
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, stdenv
|
, stdenv
|
||||||
|
, withSixel ? false
|
||||||
|
, libsixel
|
||||||
, libX11
|
, libX11
|
||||||
, libXrandr
|
, libXrandr
|
||||||
, AppKit
|
, AppKit
|
||||||
|
@ -12,24 +14,31 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "menyoki";
|
pname = "menyoki";
|
||||||
version = "1.6.0";
|
version = "1.6.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "orhun";
|
owner = "orhun";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-7dqV18+Q0M1PrSXfMro5bUqSeA72Stj5JfP4MsTlrjM=";
|
sha256 = "sha256-z0OpRnjVfU6vcyZsxkdD2x3l+a9GkDHZcFveGunDYww=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-c3VpHr/X2tKh7mY4dOQac0lS7oem0GGqjzv7feNwc24=";
|
cargoSha256 = "sha256-uSoyfgPlsHeUwnTHE49ErrlB65wcfl5dxn/YrW5EKZw=";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ]
|
nativeBuildInputs = [ installShellFiles ]
|
||||||
++ lib.optional stdenv.isLinux pkg-config;
|
++ lib.optional stdenv.isLinux pkg-config;
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isLinux [ libX11 libXrandr ]
|
buildInputs = lib.optional withSixel libsixel
|
||||||
|
++ lib.optionals stdenv.isLinux [ libX11 libXrandr ]
|
||||||
++ lib.optional stdenv.isDarwin AppKit;
|
++ lib.optional stdenv.isDarwin AppKit;
|
||||||
|
|
||||||
buildNoDefaultFeatures = !withSki;
|
buildNoDefaultFeatures = !withSki;
|
||||||
|
buildFeatures = lib.optional withSixel "sixel";
|
||||||
|
|
||||||
|
checkFlags = [
|
||||||
|
# sometimes fails on lower end machines
|
||||||
|
"--skip=record::fps::tests::test_fps"
|
||||||
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
installManPage man/*
|
installManPage man/*
|
||||||
|
|
Loading…
Reference in a new issue