selfoss: 2016-07-31 -> 2.18

Fixes PHP7 compatibility.
This commit is contained in:
Franz Pletz 2018-04-27 20:04:00 +02:00
parent d22ed1a047
commit 555d2db620
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -1,16 +1,17 @@
{ stdenv, fetchFromGitHub }: { stdenv, fetchurl, unzip }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "selfoss-unstable-${version}"; name = "selfoss-${version}";
version = "2016-07-31"; version = "2.18";
src = fetchFromGitHub { src = fetchurl {
owner = "SSilence"; url = "https://github.com/SSilence/selfoss/releases/download/${version}/${name}.zip";
repo = "selfoss"; sha256 = "1vd699r1kjc34n8avggckx2b0daj5rmgrj997sggjw2inaq4cg8b";
rev = "ceb431ad9208e2c5e31dafe593c75e5eb8b65cf7";
sha256 = "00vrpw7sb95x6lwpaxrlzxyj98k98xblqcrjr236ykv0ha97xv30";
}; };
sourceRoot = ".";
nativeBuildInputs = [ unzip ];
installPhase = '' installPhase = ''
mkdir $out mkdir $out
cp -ra * $out/ cp -ra * $out/