haskell-github: update to version 0.7.3
This commit is contained in:
parent
4e917cdc35
commit
d57b9b0b8b
@ -5,14 +5,13 @@
|
|||||||
|
|
||||||
cabal.mkDerivation (self: {
|
cabal.mkDerivation (self: {
|
||||||
pname = "github";
|
pname = "github";
|
||||||
version = "0.7.2";
|
version = "0.7.3";
|
||||||
sha256 = "0w8m8ybzb63j1631v2a6xpm727zbj19dv98cml9fyzlxzlvlg5fs";
|
sha256 = "0cb7smydndigkcib4y8pbsycsqyzg45g5vrglyq1h245rd4j6s37";
|
||||||
buildDepends = [
|
buildDepends = [
|
||||||
aeson attoparsec caseInsensitive conduit dataDefault failure
|
aeson attoparsec caseInsensitive conduit dataDefault failure
|
||||||
hashable HTTP httpConduit httpTypes network text time
|
hashable HTTP httpConduit httpTypes network text time
|
||||||
unorderedContainers vector
|
unorderedContainers vector
|
||||||
];
|
];
|
||||||
patches = [ ./fix-build.patch ];
|
|
||||||
jailbreak = true;
|
jailbreak = true;
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/fpco/github";
|
homepage = "https://github.com/fpco/github";
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
diff -ubr github-0.7.2-orig/Github/Private.hs github-0.7.2/Github/Private.hs
|
|
||||||
--- github-0.7.2-orig/Github/Private.hs 2013-12-15 19:45:00.611789227 +0100
|
|
||||||
+++ github-0.7.2/Github/Private.hs 2013-12-15 19:45:46.359954006 +0100
|
|
||||||
@@ -104,9 +104,6 @@
|
|
||||||
in Just (Data.List.takeWhile (/= '>') s')
|
|
||||||
else Nothing
|
|
||||||
|
|
||||||
-doHttps :: Method -> String -> Maybe GithubAuth
|
|
||||||
- -> Maybe (RequestBody (ResourceT IO))
|
|
||||||
- -> IO (Either E.SomeException (Response LBS.ByteString))
|
|
||||||
doHttps reqMethod url auth body = do
|
|
||||||
let reqBody = fromMaybe (RequestBodyBS $ BS.pack "") body
|
|
||||||
reqHeaders = maybe [] getOAuth auth
|
|
Loading…
x
Reference in New Issue
Block a user