Skip to content

Commit

Permalink
kaufkauflist: 4.0.0 -> 4.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
auroraanna committed Nov 4, 2024
1 parent a56efbc commit 3d2d06a
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ let
};
in buildNpmPackage rec {
pname = "kaufkauflist";
version = "4.0.0";
version = "4.0.2";

src = fetchFromGitea {
domain = "codeberg.org";
owner = "annaaurora";
repo = "kaufkauflist";
rev = "v${version}";
hash = "sha256-x30K2dYxawfebdq//9OmCCG48w0V04tDTXpvRW7lfJI=";
hash = "sha256-AqlWjFQtUBnFb0cSuh+p9GDEV74qGSLd4KiPsvjvGm8=";
};

npmDepsHash = "sha256-E3AXFwiRvrE2Swt7BfSfAoU5mQplSaSJ4q56pVfoEkQ=";
Expand Down
53 changes: 53 additions & 0 deletions pkgs/by-name/ka/kaufkauflist/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{ lib
, buildPackages
, fetchFromGitHub
, buildNpmPackage
, fetchFromGitea
, nix-update-script
}:

let
esbuild' = buildPackages.esbuild.override {
buildGoModule = args: buildPackages.buildGoModule (args // rec {
version = "0.19.11";
src = fetchFromGitHub {
owner = "evanw";
repo = "esbuild";
rev = "v${version}";
hash = "sha256-NUwjzOpHA0Ijuh0E69KXx8YVS5GTnKmob9HepqugbIU=";
};
vendorHash = "sha256-+BfxCyg0KkDQpHt/wycy/8CTG6YBA/VJvJFhhzUnSiQ=";
});
};
in buildNpmPackage rec {
pname = "kaufkauflist";
version = "4.0.2";

src = fetchFromGitea {
domain = "codeberg.org";
owner = "annaaurora";
repo = "kaufkauflist";
rev = "v${version}";
hash = "";
};

npmDepsHash = "sha256-E3AXFwiRvrE2Swt7BfSfAoU5mQplSaSJ4q56pVfoEkQ=";

ESBUILD_BINARY_PATH = lib.getExe esbuild';

postInstall = ''
mkdir -p $out/share/kaufkauflist $out/share/pocketbase
cp -vr build/* $out/share/kaufkauflist/
cp -v pb_schema.json $out/share/pocketbase/
'';

passthru.updateScript = nix-update-script { };

meta = with lib; {
homepage = "https://codeberg.org/annaaurora/kaufkauflist";
description = "To-do list for shopping or other use cases";
license = licenses.mit;
maintainers = with maintainers; [ annaaurora ];
mainProgram = "kaufdbclean";
};
}
2 changes: 0 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1798,8 +1798,6 @@ with pkgs;

kanata-with-cmd = kanata.override { withCmd = true; };

kaufkauflist = callPackage ../applications/misc/kaufkauflist { };

kdocker = libsForQt5.callPackage ../tools/X11/kdocker { };

kicli = callPackage ../tools/misc/kicli { };
Expand Down

0 comments on commit 3d2d06a

Please sign in to comment.