mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 12:22:37 +03:00
pyparted: Add patch to fix tests for parted 3.2.
See this message for the patch and details: https://www.redhat.com/archives/pyparted-devel/2014-April/msg00000.html Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
369a5c6180
commit
6553845afc
@ -6856,6 +6856,17 @@ let
|
|||||||
sha256 = "17wq4invmv1nfazaksf59ymqyvgv3i8h4q03ry2az0s9lldyg3dv";
|
sha256 = "17wq4invmv1nfazaksf59ymqyvgv3i8h4q03ry2az0s9lldyg3dv";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = singleton (pkgs.fetchurl {
|
||||||
|
url = "https://www.redhat.com/archives/pyparted-devel/"
|
||||||
|
+ "2014-April/msg00000.html";
|
||||||
|
postFetch = ''
|
||||||
|
sed -i -ne '/<!--X-Body-of-Message-->/,/<!--X-Body-of-Message-End-->/ {
|
||||||
|
s/^<[^>]*>//; /^$/!p
|
||||||
|
}' "$downloadedFile"
|
||||||
|
'';
|
||||||
|
sha256 = "1lakhz3nvx0qacn90bj1nq13zqxphiw4d9dsc44gwa8nj24j2zws";
|
||||||
|
});
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -i -e 's|/sbin/mke2fs|${pkgs.e2fsprogs}&|' tests/baseclass.py
|
sed -i -e 's|/sbin/mke2fs|${pkgs.e2fsprogs}&|' tests/baseclass.py
|
||||||
sed -i -e '
|
sed -i -e '
|
||||||
|
Loading…
Reference in New Issue
Block a user