scrot: 0.8-17 -> 0.8-18

The old patch-set isn't available on Debian anymore.
Uncovered by c3255fe8ec.
This commit is contained in:
Vladimír Čunát 2017-10-31 23:37:45 +01:00
parent a1923194f3
commit ff437fca45
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -2,23 +2,21 @@
let
debPatch = fetchzip {
url = mirror://debian/pool/main/s/scrot/scrot_0.8-17.debian.tar.xz;
sha256 = "0ydsr3vah5wkcbnp91knkdbil4hx0cn0iy57frl03azqzc29bkw5";
url = mirror://debian/pool/main/s/scrot/scrot_0.8-18.debian.tar.xz;
sha256 = "1m8m8ad0idf3nzw0k57f6rfbw8n7dza69a7iikriqgbrpyvxqybx";
};
in
stdenv.mkDerivation rec {
name = "scrot-0.8-17";
name = "scrot-0.8-18";
src = fetchurl {
url = "http://linuxbrit.co.uk/downloads/${name}.tar.gz";
sha256 = "1wll744rhb49lvr2zs6m93rdmiq59zm344jzqvijrdn24ksiqgb1";
};
inherit debPatch;
postPatch = ''
for patch in $(cat $debPatch/patches/series); do
patch -p1 < "$debPatch/patches/$patch"
for patch in $(cat ${debPatch}/patches/series); do
patch -p1 < "${debPatch}/patches/$patch"
done
'';