osuplusplus/nix/default.nix

29 lines
448 B
Nix

{
lib,
stdenv,
sfml,
}:
stdenv.mkDerivation {
pname = "osu++";
version = "0.1.0";
src = ../.;
buildInputs = [
sfml
];
installPhase = ''
runHook preInstall
install -Dm755 target/osu++ -t $out/bin
runHook postInstall
'';
meta = with lib; {
homepage = "https://git.jacekpoz.pl/jacekpoz/osuplusplus";
description = "An osu client written in C++ using SMFL.";
license = licenses.agpl3Plus;
};
}