From 3c63b41aa4e415d115b69f486f1fce90739ac332 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 14 Feb 2012 16:58:27 +0000 Subject: [PATCH] haskell-tar: added version 0.4.0.0 svn path=/nixpkgs/trunk/; revision=32277 --- .../haskell/tar/{default.nix => 0.3.2.0.nix} | 0 pkgs/development/tools/haskell/tar/0.4.0.0.nix | 16 ++++++++++++++++ pkgs/top-level/haskell-packages.nix | 5 ++++- 3 files changed, 20 insertions(+), 1 deletion(-) rename pkgs/development/tools/haskell/tar/{default.nix => 0.3.2.0.nix} (100%) create mode 100644 pkgs/development/tools/haskell/tar/0.4.0.0.nix diff --git a/pkgs/development/tools/haskell/tar/default.nix b/pkgs/development/tools/haskell/tar/0.3.2.0.nix similarity index 100% rename from pkgs/development/tools/haskell/tar/default.nix rename to pkgs/development/tools/haskell/tar/0.3.2.0.nix diff --git a/pkgs/development/tools/haskell/tar/0.4.0.0.nix b/pkgs/development/tools/haskell/tar/0.4.0.0.nix new file mode 100644 index 000000000000..70afaa4aa6ae --- /dev/null +++ b/pkgs/development/tools/haskell/tar/0.4.0.0.nix @@ -0,0 +1,16 @@ +{ cabal }: + +cabal.mkDerivation (self: { + pname = "tar"; + version = "0.4.0.0"; + sha256 = "04qijdfyiqb64q58g0bf46qfgaxqjl3kl68x6z31cv36p3hpplx3"; + meta = { + description = "Reading, writing and manipulating \".tar\" archive files."; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ + self.stdenv.lib.maintainers.andres + self.stdenv.lib.maintainers.simons + ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index f4f7906a4d35..3f860fe94444 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1604,7 +1604,9 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); SourceGraph = callPackage ../development/tools/haskell/SourceGraph {}; - tar = callPackage ../development/tools/haskell/tar {}; + tar_0_3_2_0 = callPackage ../development/tools/haskell/tar/0.3.2.0.nix {}; + tar_0_4_0_0 = callPackage ../development/tools/haskell/tar/0.4.0.0.nix {}; + tar = self.tar_0_4_0_0; threadscope = callPackage ../development/tools/haskell/threadscope {}; @@ -1616,6 +1618,7 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); darcs = callPackage ../applications/version-management/darcs { regexCompat = self.regexCompat93; + tar = self.tar_0_3_2_0; }; leksah = callPackage ../applications/editors/leksah {};