Package flex-launcher

This commit is contained in:
traxys 2024-03-29 22:45:13 +01:00
parent 4ac5b414c3
commit 6ad0774622
2 changed files with 43 additions and 0 deletions

View file

@ -15,5 +15,6 @@
frg = callPackage ./frg.nix {};
bonnie = callPackage ./bonnie {};
perseus-cli = callPackage ./perseus {inherit bonnie;};
flex-launcher = callPackage ./flex-launcher.nix {};
mesonlsp = callPackage ./mesonlsp.nix {};
}

42
pkgs/flex-launcher.nix Normal file
View file

@ -0,0 +1,42 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
pkg-config,
SDL2,
SDL2_image,
SDL2_ttf,
}:
stdenv.mkDerivation rec {
pname = "flex-launcher";
version = "2.1";
src = fetchFromGitHub {
owner = "complexlogic";
repo = "flex-launcher";
rev = "v${version}";
hash = "sha256-/W6q7wX7QZ1uz+eXef5ST61nt8Z8Ybc1Lg8iaJPXguQ=";
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
SDL2_ttf
SDL2_image
SDL2
];
meta = with lib; {
description = "A customizable HTPC application launcher for Windows and Linux";
homepage = "https://github.com/complexlogic/flex-launcher";
changelog = "https://github.com/complexlogic/flex-launcher/blob/${src.rev}/CHANGELOG";
license = licenses.unlicense;
maintainers = with maintainers; [traxys];
mainProgram = "flex-launcher";
platforms = platforms.all;
};
}