more tests
This commit is contained in:
parent
7b2072e5b0
commit
0be9eafd10
25
react-ui.nix
Normal file
25
react-ui.nix
Normal 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
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user