diff options
author | Peter Simons <simons@cryp.to> | 2014-11-25 14:36:25 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2014-11-26 14:24:45 +0100 |
commit | 232e90378f7327a4ab54e0876eb6df1c84f2cf68 (patch) | |
tree | 1a8ae60e4cda1ef5b756c7b4f484f49e9fca7ce7 /pkgs | |
parent | c7d3f6021707ce18690a0f59807c02cae38b8338 (diff) | |
download | nixlib-232e90378f7327a4ab54e0876eb6df1c84f2cf68.tar nixlib-232e90378f7327a4ab54e0876eb6df1c84f2cf68.tar.gz nixlib-232e90378f7327a4ab54e0876eb6df1c84f2cf68.tar.bz2 nixlib-232e90378f7327a4ab54e0876eb6df1c84f2cf68.tar.lz nixlib-232e90378f7327a4ab54e0876eb6df1c84f2cf68.tar.xz nixlib-232e90378f7327a4ab54e0876eb6df1c84f2cf68.tar.zst nixlib-232e90378f7327a4ab54e0876eb6df1c84f2cf68.zip |
haskell-twitter-conduit: use new editedCabalFile feature
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/haskell/twitter-conduit/default.nix | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/pkgs/development/libraries/haskell/twitter-conduit/default.nix b/pkgs/development/libraries/haskell/twitter-conduit/default.nix index 54d091ebb869..31542d43ebcb 100644 --- a/pkgs/development/libraries/haskell/twitter-conduit/default.nix +++ b/pkgs/development/libraries/haskell/twitter-conduit/default.nix @@ -7,16 +7,11 @@ , 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"; sha256 = "1cymgp3wlswxn5qfdr442cqq2ak48b5w1zcsr67n2g5p1izadwji"; + editedCabalFile = "06z8dwvc17xhzpvb7cm0j6v63r5f3xirj36rr86bds3rw1zbnd0z"; isLibrary = true; isExecutable = true; buildDepends = [ @@ -31,7 +26,6 @@ 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"; |