remove grocy from overlay?

This commit is contained in:
chaos 2024-05-10 21:12:16 +01:00
parent 08b82a83fc
commit 7dd402012b
No known key found for this signature in database
2 changed files with 1 additions and 27 deletions

View file

@ -54,7 +54,7 @@ in
packages = {
inherit (pkgs) comic-code comic-sans;
inherit (pkgs) mk-enc-usb mk-encrypted-drive mk-raspberry-ext-drive;
inherit (pkgs) gotosocial grocy mpd-headless owncast;
inherit (pkgs) gotosocial mpd-headless owncast;
inherit (pkgs) kitty-terminfo;
};
}

View file

@ -13,32 +13,6 @@ final: prev: rec {
cp -r ${./kitty-terminfo}/* $out/share
'';
# latest version
# to generate zip:
# nix-shell -p stdenv php phpPackages.composer nodejs yarn
# yarn install --frozen-lockfile --modules-folder public/packages --production
# composer install --no-interaction --no-dev --optimize-autoloader
# bsdtar cvaf ../Projects/nixfiles/overlay/grocy-9f94ba55a4a5ad91a442800d6734ee6968847d3b.zip .
#
# this includes a bunch of unneeded files
# but we cba to go through the bat file
# the author uses to figure out what all the 7z commands do)
grocy = prev.grocy.overrideAttrs (_old: let
version = "4.2.0";
hash = "";
in rec {
inherit version;
src = final.fetchurl {
url = "https://github.com/grocy/grocy/releases/download/v${version}/grocy_${version}.zip";
hash = "sha256-3ci1hB+Q1B8c6Tz4v5r1jX7n5lG1cFWaMjBi7smnndk=";
};
nativeBuildInputs = [final.unzip];
unpackPhase = ''
unzip ${src} -d .
'';
patches = [./grocy-env-variables.diff];
});
mpd-headless =
(prev.mpdWithFeatures.override {
ffmpeg = final.ffmpeg_6-headless;