31 lines
581 B
Nix
31 lines
581 B
Nix
{ config, fetchgit, pkgs, lib, stdenv, ... }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "lalafin";
|
|
version = "0.2.0";
|
|
|
|
src = [
|
|
../target
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
pkgs.makeWrapper
|
|
];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
mv *-runner $out/bin/lalafin
|
|
'';
|
|
|
|
postFixup = ''
|
|
wrapProgram $out/bin/lalafin \
|
|
--prefix PATH : ${pkgs.imagemagick}/bin \
|
|
--prefix LD_LIBRARY_PATH : ${pkgs.stdenv.cc.cc.lib}/lib
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Overly complex file server";
|
|
homepage = "https://git.rhiobet.sh/rhiobet/lalafin";
|
|
};
|
|
}
|