mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
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:
parent
a1923194f3
commit
ff437fca45
|
@ -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
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue