shaarli-material: 0.9.1 -> 0.9.5

This commit is contained in:
schneefux 2018-03-31 12:27:17 +02:00
parent 1fa341fcc4
commit 1158728294
No known key found for this signature in database
GPG Key ID: 50F2BF336737C2F0

View File

@ -2,21 +2,21 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "shaarli-material-${version}"; name = "shaarli-material-${version}";
version = "0.9.1"; version = "0.9.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kalvn"; owner = "kalvn";
repo = "Shaarli-Material"; repo = "Shaarli-Material";
rev = "v${version}"; rev = "v${version}";
sha256 = "0x8d9425n3jrwzsyxclbxfspvi91v1klq8r3m6wcj81kys7vmzgh"; sha256 = "1bxw74ksvfv46995iwc7jhvl78hd84lcq3h9iyxvs8gpkhkapv55";
}; };
patchPhase = '' patchPhase = ''
for f in material/*.html for f in material/*.html
do do
substituteInPlace $f \ substituteInPlace $f \
--replace '.min.css"' '.min.css#"' \ --replace '.min.css?v={$version_hash}"' '.min.css#"' \
--replace '.min.js"' '.min.js#"' \ --replace '.min.js?v={$version_hash}"' '.min.js#"' \
--replace '.png"' '.png#"' --replace '.png"' '.png#"'
done done
''; '';