WIP: homebox package

This commit is contained in:
Patrick 2024-05-25 22:30:22 +02:00
parent 2619c11018
commit 807b0fdb2a
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
3 changed files with 17073 additions and 0 deletions

View file

@ -5,6 +5,7 @@
zsh-histdb = super.callPackage ./zsh-histdb.nix {};
your_spotify = super.callPackage ./your_spotify.nix {};
actual = super.callPackage ./actual.nix {};
homebox = super.callPackage ./homebox.nix {};
deploy = super.callPackage ./deploy.nix {};
minify = super.callPackage ./minify {};
j-link = super.callPackage ./jlink.nix {};

34
pkgs/homebox.nix Normal file
View file

@ -0,0 +1,34 @@
{
lib,
buildNpmPackage,
fetchFromGitHub,
}:
buildNpmPackage rec {
pname = "homebox-frontend";
version = "0.10.3";
src = "${fetchFromGitHub {
owner = "hay-kot";
repo = "homebox";
rev = "v${version}";
hash = "sha256-nPMc7H8AcHnHGNn9g0xuI2TqMQPCmUBfqV/5KMdpxWU=";
}}/frontend";
env.CYPRESS_INSTALL_BINARY = "0";
npmDepsHash = "sha256-xnRBfVc/ZPRSDAe35hvXtrxnqv9/COuA0oV36n/sPTA=";
postPatch = ''
ln -s ${./package-lock.json} package-lock.json
'';
installPhase = ''
runHook preInstall
ls -la
runHook postInstall
'';
meta = with lib; {
};
}

17038
pkgs/package-lock.json generated Normal file

File diff suppressed because it is too large Load diff