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 {
name = "selfoss-unstable-${version}";
version = "2016-07-31";
name = "selfoss-${version}";
version = "2.18";
src = fetchFromGitHub {
owner = "SSilence";
repo = "selfoss";
rev = "ceb431ad9208e2c5e31dafe593c75e5eb8b65cf7";
sha256 = "00vrpw7sb95x6lwpaxrlzxyj98k98xblqcrjr236ykv0ha97xv30";
src = fetchurl {
url = "https://github.com/SSilence/selfoss/releases/download/${version}/${name}.zip";
sha256 = "1vd699r1kjc34n8avggckx2b0daj5rmgrj997sggjw2inaq4cg8b";
};
sourceRoot = ".";
nativeBuildInputs = [ unzip ];
installPhase = ''
mkdir $out
cp -ra * $out/