Merge pull request #38213 from schneefux/pkg.shaarli-material

shaarli-material: 0.9.1 -> 0.9.5
This commit is contained in:
Matthew Justin Bauer 2018-04-08 21:46:18 -05:00 committed by GitHub
commit 79c0c491bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
''; '';