oculante: 0.8.23 -> 0.9.1
https://github.com/woelper/oculante/releases/tag/0.9.1 https://github.com/woelper/oculante/releases/tag/0.9.0
This commit is contained in:
parent
b37bbeb14f
commit
fe2aaddb10
@ -1,37 +1,38 @@
|
|||||||
{ lib
|
{
|
||||||
, rustPlatform
|
lib,
|
||||||
, fetchFromGitHub
|
rustPlatform,
|
||||||
, cmake
|
fetchFromGitHub,
|
||||||
, pkg-config
|
cmake,
|
||||||
, openssl
|
pkg-config,
|
||||||
, fontconfig
|
openssl,
|
||||||
, nasm
|
fontconfig,
|
||||||
, libX11
|
nasm,
|
||||||
, libXcursor
|
libX11,
|
||||||
, libXrandr
|
libXcursor,
|
||||||
, libXi
|
libXrandr,
|
||||||
, libGL
|
libXi,
|
||||||
, libxkbcommon
|
libGL,
|
||||||
, wayland
|
libxkbcommon,
|
||||||
, stdenv
|
wayland,
|
||||||
, gtk3
|
stdenv,
|
||||||
, darwin
|
gtk3,
|
||||||
, perl
|
darwin,
|
||||||
, wrapGAppsHook3
|
perl,
|
||||||
|
wrapGAppsHook3,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "oculante";
|
pname = "oculante";
|
||||||
version = "0.8.23";
|
version = "0.9.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "woelper";
|
owner = "woelper";
|
||||||
repo = "oculante";
|
repo = "oculante";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-Dg1FFB9WVB4SWInSyOYb1TCPAtCa9gwsFLUX+UhL4DY=";
|
hash = "sha256-6jow0ektqmEcwFEaJgPqhJPs8LlYmPRLE+zqk1T4wDk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-Ze3ACs9WyoxNsaeJlZWhR0g+aFsntwNLLYbw2RnmwfE=";
|
cargoHash = "sha256-0e4FoWhZwq6as0JYHGj1zoAOSr71ztqtWJEY3QXDs9s=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
@ -41,33 +42,37 @@ rustPlatform.buildRustPackage rec {
|
|||||||
wrapGAppsHook3
|
wrapGAppsHook3
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs =
|
||||||
openssl
|
[
|
||||||
fontconfig
|
openssl
|
||||||
] ++ lib.optionals stdenv.hostPlatform.isLinux [
|
fontconfig
|
||||||
libGL
|
]
|
||||||
libX11
|
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||||
libXcursor
|
libGL
|
||||||
libXi
|
libX11
|
||||||
libXrandr
|
libXcursor
|
||||||
gtk3
|
libXi
|
||||||
|
libXrandr
|
||||||
|
gtk3
|
||||||
|
|
||||||
libxkbcommon
|
libxkbcommon
|
||||||
wayland
|
wayland
|
||||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
]
|
||||||
darwin.libobjc
|
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||||
];
|
darwin.libobjc
|
||||||
|
];
|
||||||
|
|
||||||
checkFlags = [
|
checkFlags = [
|
||||||
"--skip=bench"
|
"--skip=bench"
|
||||||
"--skip=tests::net" # requires network access
|
"--skip=tests::net" # requires network access
|
||||||
|
"--skip=tests::flathub"
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
install -Dm444 $src/res/oculante.png -t $out/share/icons/hicolor/128x128/apps/
|
install -Dm444 $src/res/icons/icon.png -t $out/share/icons/hicolor/128x128/apps/
|
||||||
install -Dm444 $src/res/oculante.desktop -t $out/share/applications
|
install -Dm444 $src/res/oculante.desktop -t $out/share/applications
|
||||||
wrapProgram $out/bin/oculante \
|
wrapProgram $out/bin/oculante \
|
||||||
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [libGL]}
|
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libGL ]}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
@ -77,6 +82,9 @@ rustPlatform.buildRustPackage rec {
|
|||||||
changelog = "https://github.com/woelper/oculante/blob/${version}/CHANGELOG.md";
|
changelog = "https://github.com/woelper/oculante/blob/${version}/CHANGELOG.md";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
mainProgram = "oculante";
|
mainProgram = "oculante";
|
||||||
maintainers = with maintainers; [ dit7ya figsoda ];
|
maintainers = with maintainers; [
|
||||||
|
dit7ya
|
||||||
|
figsoda
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user