2013-02-24 22:09:07 +01:00
|
|
|
{ cabal, appar, byteorder, doctest, hspec, network, QuickCheck
|
2013-02-28 10:40:18 +01:00
|
|
|
, safe
|
2013-02-24 22:09:07 +01:00
|
|
|
}:
|
2012-11-15 12:35:30 +01:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "iproute";
|
2012-12-15 11:32:47 +01:00
|
|
|
version = "1.2.10";
|
|
|
|
sha256 = "1ni91llvq1mfdsjmw1laqhk964y4vlpyk5s25j8klsfn27mq6c68";
|
2012-11-15 12:35:30 +01:00
|
|
|
buildDepends = [ appar byteorder network ];
|
2013-02-24 22:09:07 +01:00
|
|
|
testDepends = [
|
2013-02-28 10:40:18 +01:00
|
|
|
appar byteorder doctest hspec network QuickCheck safe
|
2013-02-24 22:09:07 +01:00
|
|
|
];
|
2013-02-28 10:40:18 +01:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's|Safe|safe|' iproute.cabal
|
|
|
|
'';
|
2012-11-15 12:35:30 +01:00
|
|
|
meta = {
|
|
|
|
homepage = "http://www.mew.org/~kazu/proj/iproute/";
|
|
|
|
description = "IP Routing Table";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|