3
0
Fork 0
forked from mirrors/nixpkgs

haskell-iproute: patch library to depend on 'safe' instead of the obsolete 'Safe' package

This commit is contained in:
Peter Simons 2013-02-28 10:40:18 +01:00
parent 4f4dc40099
commit 513a3fb558

View file

@ -1,5 +1,5 @@
{ cabal, appar, byteorder, doctest, hspec, network, QuickCheck { cabal, appar, byteorder, doctest, hspec, network, QuickCheck
, Safe , safe
}: }:
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
@ -8,8 +8,11 @@ cabal.mkDerivation (self: {
sha256 = "1ni91llvq1mfdsjmw1laqhk964y4vlpyk5s25j8klsfn27mq6c68"; sha256 = "1ni91llvq1mfdsjmw1laqhk964y4vlpyk5s25j8klsfn27mq6c68";
buildDepends = [ appar byteorder network ]; buildDepends = [ appar byteorder network ];
testDepends = [ testDepends = [
appar byteorder doctest hspec network QuickCheck Safe appar byteorder doctest hspec network QuickCheck safe
]; ];
patchPhase = ''
sed -i -e 's|Safe|safe|' iproute.cabal
'';
meta = { meta = {
homepage = "http://www.mew.org/~kazu/proj/iproute/"; homepage = "http://www.mew.org/~kazu/proj/iproute/";
description = "IP Routing Table"; description = "IP Routing Table";