haskell-twitter-conduit: patch build to load the edited Cabal file from Hackage
This commit is contained in:
parent
4f48c33b74
commit
52809ef21d
@ -4,9 +4,15 @@
|
||||
, conduit, conduitExtra, dataDefault, doctest, filepath, hlint
|
||||
, hspec, httpClient, httpConduit, httpTypes, lens, lensAeson
|
||||
, monadControl, networkUri, resourcet, text, time, transformers
|
||||
, transformersBase, twitterTypes, twitterTypesLens
|
||||
, transformersBase, twitterTypes, twitterTypesLens, fetchurl
|
||||
}:
|
||||
|
||||
let
|
||||
editedCabalFile = fetchurl {
|
||||
url = "http://hackage.haskell.org/package/twitter-conduit-0.1.0/twitter-conduit.cabal";
|
||||
sha256 = "06z8dwvc17xhzpvb7cm0j6v63r5f3xirj36rr86bds3rw1zbnd0z";
|
||||
};
|
||||
in
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "twitter-conduit";
|
||||
version = "0.1.0";
|
||||
@ -25,6 +31,7 @@ cabal.mkDerivation (self: {
|
||||
resourcet text time transformers transformersBase twitterTypes
|
||||
twitterTypesLens
|
||||
];
|
||||
preConfigure = "cp ${editedCabalFile} twitter-conduit.cabal";
|
||||
meta = {
|
||||
homepage = "https://github.com/himura/twitter-conduit";
|
||||
description = "Twitter API package with conduit interface and Streaming API support";
|
||||
|
Loading…
Reference in New Issue
Block a user