mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
ajour: init at 0.6.3
This commit is contained in:
parent
de121de16e
commit
0ffffcc5da
2 changed files with 86 additions and 0 deletions
81
pkgs/tools/games/ajour/default.nix
Normal file
81
pkgs/tools/games/ajour/default.nix
Normal file
|
@ -0,0 +1,81 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, autoPatchelfHook
|
||||
, cmake
|
||||
, makeWrapper
|
||||
, pkg-config
|
||||
, python3
|
||||
, expat
|
||||
, freetype
|
||||
, kdialog
|
||||
, zenity
|
||||
, openssl
|
||||
, libX11
|
||||
, libxcb
|
||||
, libXcursor
|
||||
, libXi
|
||||
, libxkbcommon
|
||||
, libXrandr
|
||||
, vulkan-loader
|
||||
, wayland
|
||||
}:
|
||||
|
||||
let
|
||||
rpathLibs = [
|
||||
libXcursor
|
||||
libXi
|
||||
libxkbcommon
|
||||
libXrandr
|
||||
libX11
|
||||
vulkan-loader
|
||||
wayland
|
||||
];
|
||||
|
||||
in rustPlatform.buildRustPackage rec {
|
||||
pname = "Ajour";
|
||||
version = "0.6.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "casperstorm";
|
||||
repo = "ajour";
|
||||
rev = version;
|
||||
sha256 = "080759j18pws5c8bmqn1bwvmlaq8k01kzj7bnwncwinl5j35mi2j";
|
||||
};
|
||||
|
||||
cargoSha256 = "1614lln5zh2j2np68pllwcqmywvzzmkj71b158fw2d98ijbi9lmw";
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
cmake
|
||||
makeWrapper
|
||||
pkg-config
|
||||
python3
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
expat
|
||||
freetype
|
||||
openssl
|
||||
libxcb
|
||||
libX11
|
||||
];
|
||||
|
||||
fixupPhase = ''
|
||||
patchelf --set-rpath "${lib.makeLibraryPath rpathLibs}:$(patchelf --print-rpath $out/bin/ajour)" $out/bin/ajour
|
||||
wrapProgram $out/bin/ajour --prefix PATH ":" ${lib.makeBinPath [ zenity kdialog ]}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "World of Warcraft addon manager written in Rust";
|
||||
longDescription = ''
|
||||
Ajour is a World of Warcraft addon manager written in Rust with a
|
||||
strong focus on performance and simplicity. The project is
|
||||
completely advertisement free, privacy respecting and open source.
|
||||
'';
|
||||
homepage = "https://github.com/casperstorm/ajour";
|
||||
changelog = "https://github.com/casperstorm/ajour/blob/master/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
|
@ -721,6 +721,11 @@ in
|
|||
|
||||
aj-snapshot = callPackage ../applications/audio/aj-snapshot { };
|
||||
|
||||
ajour = callPackage ../tools/games/ajour {
|
||||
inherit (gnome3) zenity;
|
||||
inherit (plasma5Packages) kdialog;
|
||||
};
|
||||
|
||||
albert = libsForQt5.callPackage ../applications/misc/albert {};
|
||||
|
||||
metapixel = callPackage ../tools/graphics/metapixel { };
|
||||
|
|
Loading…
Reference in a new issue