grocy 3.3.2 -> 4.0.2 https://github.com/grocy/grocy/releases attrpath: grocy Checking auto update branch... No auto update branch exists Old version 3.3.2" not present in master derivation file with contents: { lib, stdenv, fetchurl, unzip, nixosTests }: stdenv.mkDerivation rec { pname = "grocy"; version = "4.0.0"; src = fetchurl { url = "https://github.com/grocy/grocy/releases/download/v${version}/grocy_${version}.zip"; sha256 = "sha256-Sei+UYM5azzSWgnmgufxDl5ySbYJ52DBGPc0nTjnqqc="; }; nativeBuildInputs = [ unzip ]; unpackPhase = '' unzip ${src} -d . ''; # NOTE: if patches are created from a git checkout, those should be modified # with `unixdos` to make sure those apply here. patches = [ ./0001-Define-configs-with-env-vars.patch ./0002-Remove-check-for-config-file-as-it-s-stored-in-etc-g.patch ]; patchFlags = [ "--binary" "-p1" ]; dontBuild = true; passthru.tests = { inherit (nixosTests) grocy; }; installPhase = '' mkdir -p $out/ cp -R . $out/ ''; meta = with lib; { license = licenses.mit; maintainers = with maintainers; [ n0emis ]; description = "ERP beyond your fridge - grocy is a web-based self-hosted groceries & household management solution for your home"; homepage = "https://grocy.info/"; }; }