From 66729b6dead2e66eb1161b1a376963986fd26e1c Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 11 Mar 2014 12:49:56 +0100 Subject: [PATCH] haskell-lens: remove obsolete version 3.10.2 --- .../libraries/haskell/lens/3.10.2.nix | 36 ------------------- .../haskell/lens/{4.0.5.nix => default.nix} | 0 pkgs/top-level/haskell-packages.nix | 32 +++++------------ 3 files changed, 8 insertions(+), 60 deletions(-) delete mode 100644 pkgs/development/libraries/haskell/lens/3.10.2.nix rename pkgs/development/libraries/haskell/lens/{4.0.5.nix => default.nix} (100%) diff --git a/pkgs/development/libraries/haskell/lens/3.10.2.nix b/pkgs/development/libraries/haskell/lens/3.10.2.nix deleted file mode 100644 index 819902d6139..00000000000 --- a/pkgs/development/libraries/haskell/lens/3.10.2.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ cabal, bifunctors, comonad, contravariant, deepseq, distributive -, doctest, filepath, genericDeriving, hashable, HUnit -, MonadCatchIOTransformers, mtl, nats, parallel, profunctors -, QuickCheck, reflection, semigroupoids, semigroups, simpleReflect -, split, tagged, testFramework, testFrameworkHunit -, testFrameworkQuickcheck2, testFrameworkTh, text, transformers -, transformersCompat, unorderedContainers, vector, void -}: - -cabal.mkDerivation (self: { - pname = "lens"; - version = "3.10.2"; - sha256 = "0hdj75sg8r1m2jdpfh81zdcwbhp6mb7xipp6q57pv6n90xc6dnxw"; - buildDepends = [ - bifunctors comonad contravariant distributive filepath - genericDeriving hashable MonadCatchIOTransformers mtl parallel - profunctors reflection semigroupoids semigroups split tagged text - transformers transformersCompat unorderedContainers vector void - ]; - testDepends = [ - deepseq doctest filepath genericDeriving HUnit mtl nats parallel - QuickCheck semigroups simpleReflect split testFramework - testFrameworkHunit testFrameworkQuickcheck2 testFrameworkTh text - transformers unorderedContainers vector - ]; - patchPhase = '' - sed -i lens.cabal -e 's|MonadCatchIO-transformers >=.*,|MonadCatchIO-transformers,|' - ''; - doCheck = false; - meta = { - homepage = "http://github.com/ekmett/lens/"; - description = "Lenses, Folds and Traversals"; - license = self.stdenv.lib.licenses.bsd3; - platforms = self.ghc.meta.platforms; - }; -}) diff --git a/pkgs/development/libraries/haskell/lens/4.0.5.nix b/pkgs/development/libraries/haskell/lens/default.nix similarity index 100% rename from pkgs/development/libraries/haskell/lens/4.0.5.nix rename to pkgs/development/libraries/haskell/lens/default.nix diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index bbf7658a842..47926cb3fca 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -941,24 +941,12 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x dice = callPackage ../development/libraries/haskell/dice {}; diagrams = callPackage ../development/libraries/haskell/diagrams/diagrams.nix {}; - diagramsCairo = callPackage ../development/libraries/haskell/diagrams/cairo.nix { - lens = self.lens_3_10_2; - }; - diagramsCore = callPackage ../development/libraries/haskell/diagrams/core.nix { - lens = self.lens_3_10_2; - }; - diagramsContrib = callPackage ../development/libraries/haskell/diagrams/contrib.nix { - lens = self.lens_3_10_2; - }; - diagramsLib = callPackage ../development/libraries/haskell/diagrams/lib.nix { - lens = self.lens_3_10_2; - }; - diagramsPostscript = callPackage ../development/libraries/haskell/diagrams/postscript.nix { - lens = self.lens_3_10_2; - }; - diagramsSvg = callPackage ../development/libraries/haskell/diagrams/svg.nix { - lens = self.lens_3_10_2; - }; + diagramsCairo = callPackage ../development/libraries/haskell/diagrams/cairo.nix {}; + diagramsCore = callPackage ../development/libraries/haskell/diagrams/core.nix {}; + diagramsContrib = callPackage ../development/libraries/haskell/diagrams/contrib.nix {}; + diagramsLib = callPackage ../development/libraries/haskell/diagrams/lib.nix {}; + diagramsPostscript = callPackage ../development/libraries/haskell/diagrams/postscript.nix {}; + diagramsSvg = callPackage ../development/libraries/haskell/diagrams/svg.nix {}; Diff = callPackage ../development/libraries/haskell/Diff {}; @@ -1125,9 +1113,7 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x foldl = callPackage ../development/libraries/haskell/foldl {}; - forceLayout = callPackage ../development/libraries/haskell/force-layout { - lens = self.lens_3_10_2; - }; + forceLayout = callPackage ../development/libraries/haskell/force-layout {}; free = callPackage ../development/libraries/haskell/free {}; @@ -1584,9 +1570,7 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x leksahServer = callPackage ../development/libraries/haskell/leksah/leksah-server.nix {}; - lens_3_10_2 = callPackage ../development/libraries/haskell/lens/3.10.2.nix {}; - lens_4_0_5 = callPackage ../development/libraries/haskell/lens/4.0.5.nix {}; - lens = self.lens_4_0_5; + lens = callPackage ../development/libraries/haskell/lens {}; lensAeson = callPackage ../development/libraries/haskell/lens-aeson {};