config-perso/machines/kat-traque/traque-pkg.nix

18 lines
384 B
Nix
Raw Permalink Normal View History

2024-06-25 18:31:43 +02:00
{ lib, rustPlatform }:
2024-06-23 15:57:17 +02:00
rustPlatform.buildRustPackage rec {
pname = "traque";
version = "0.2.4";
src = fetchTarball "https://git.dgnum.eu/lbailly/traque/archive/master.tar.gz";
cargoLock = {
lockFile = "${src}/Cargo.lock";
};
postInstall = ''
mkdir -p $out/share
cp -r static $out/share/traque-webroot
cp -r templates $out/share/traque-templates
'';
}