From 232e90378f7327a4ab54e0876eb6df1c84f2cf68 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 25 Nov 2014 14:36:25 +0100 Subject: [PATCH] haskell-twitter-conduit: use new editedCabalFile feature --- .../libraries/haskell/twitter-conduit/default.nix | 8 +------- 1 file changed, 1 insertion(+), 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";