{ stdenvNoCC , lib , fetchFromGitHub , nixosTests , php , pkgs }: stdenvNoCC.mkDerivation rec { pname = "FreshRSS"; version = "1.20.2"; src = fetchFromGitHub { owner = "FreshRSS"; repo = "FreshRSS"; rev = version; hash = "sha256-l1SOaQA4C8yXbrfi7pEE1PpUO4DVmLTTDUSACCSQ5LE="; }; passthru.tests = { inherit (nixosTests) freshrss-sqlite freshrss-pgsql; }; buildInputs = [ php ]; # There's nothing to build. dontBuild = true; # the data folder is no in this package and thereby declared by an env-var overrideConfig = pkgs.writeText "constants.local.php" ''