more tests

This commit is contained in:
Andrew Bryant 2025-01-04 09:36:05 -05:00
parent 7b2072e5b0
commit 0be9eafd10

25
react-ui.nix Normal file
View File

@ -0,0 +1,25 @@
{ lib, fetchzip, buildNpmPackage, typescript }:
buildNpmPackage rec {
pname = "invoiceninja-react-ui";
version = "11.12.2024.1";
src = fetchzip {
url = "https://github.com/invoiceninja/ui/archive/refs/tags/11.12.2024.1.tar.gz";
hash = "sha256-6yAX+NM3ryWmn1Cww3vtsyjdyzzNtKxmiDMOTwu9JXc=";
};
npmDepsHash = "sha256-uqa/fzUlchMVzHiZuC7BXMVS/2rj0ukREecg4iDULWs=";
installPhase = ''
runHook preInstall
mkdir -p $out/share
cp -a dist $out/share/${pname}
runHook postInstall
'';
}