Merge pull request #223553 from Pyxels/feat/kickoff

kickoff: init at v0.7.0
This commit is contained in:
Nick Cao 2023-04-14 19:09:22 +08:00 committed by GitHub
commit 0957bca8c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 51 additions and 0 deletions

View file

@ -12557,6 +12557,12 @@
githubId = 4579165;
name = "Danny Bautista";
};
pyxels = {
email = "pyxels.dev@gmail.com";
github = "Pyxels";
githubId = 39232833;
name = "Jonas";
};
q3k = {
email = "q3k@q3k.org";
github = "q3k";

View file

@ -0,0 +1,43 @@
{ lib
, fetchFromGitHub
, rustPlatform
, fontconfig
, pkg-config
, wayland
, libxkbcommon
, makeWrapper
}:
rustPlatform.buildRustPackage rec {
pname = "kickoff";
version = "0.7.0";
src = fetchFromGitHub {
owner = "j0ru";
repo = pname;
rev = "v${version}";
hash = "sha256-AolJXFolMEwoK3AtC93naphZetytzRl1yI10SP9Rnzo=";
};
cargoHash = "sha256-Twg2C29OwXfCK/rYXnyjbhmCClnsFHz8le9h4AmzXfA=";
libPath = lib.makeLibraryPath [
wayland
libxkbcommon
];
buildInputs = [ fontconfig ];
nativeBuildInputs = [ makeWrapper pkg-config ];
postInstall = ''
wrapProgram "$out/bin/kickoff" --prefix LD_LIBRARY_PATH : "${libPath}"
'';
meta = with lib; {
description = "Minimalistic program launcher";
homepage = "https://github.com/j0ru/kickoff";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ pyxels ];
platforms = platforms.linux;
};
}

View file

@ -31374,6 +31374,8 @@ with pkgs;
kiwix-tools = callPackage ../applications/misc/kiwix/tools.nix { };
kickoff = callPackage ../applications/misc/kickoff { };
klayout = libsForQt5.callPackage ../applications/misc/klayout { };
klee = callPackage ../applications/science/logic/klee (with llvmPackages_11; {