]> woffs.de Git - fd/haskell-amqp-utils.git/commitdiff
nix: use stock amqp lib
authorFrank Doepper <[email protected]>
Fri, 1 Nov 2019 20:04:46 +0000 (21:04 +0100)
committerFrank Doepper <[email protected]>
Fri, 1 Nov 2019 20:04:46 +0000 (21:04 +0100)
nixos-19.09 has amqp-0.18.3 out of the box

amqp.nix [deleted file]
default.nix

diff --git a/amqp.nix b/amqp.nix
deleted file mode 100644 (file)
index d0de22b..0000000
--- a/amqp.nix
+++ /dev/null
@@ -1,27 +0,0 @@
-{ stdenv, mkDerivation, base, binary, bytestring, clock, connection
- , containers, data-binary-ieee754, hspec, hspec-expectations
- , monad-control, network, network-uri, split, stm, text, vector
- , xml
- }:
- mkDerivation {
-   pname = "amqp";
-   version = "0.18.3";
-   sha256 = "1cyzazl3hz5yd2i220b4g8xs0fm47xqlwyvgarxbnn5gnrm8ys21";
-   isLibrary = true;
-   isExecutable = true;
-   libraryHaskellDepends = [
-     base binary bytestring clock connection containers
-     data-binary-ieee754 monad-control network network-uri split stm
-     text vector
-   ];
-   executableHaskellDepends = [ base containers xml ];
-   testHaskellDepends = [
-     base binary bytestring clock connection containers
-     data-binary-ieee754 hspec hspec-expectations network network-uri
-     split stm text vector
-   ];
-   homepage = "https://github.com/hreinhardt/amqp";
-   description = "Client library for AMQP servers (currently only RabbitMQ)";
-   license = stdenv.lib.licenses.bsd3;
-   hydraPlatforms = stdenv.lib.platforms.none;
- }
index 09c2b5faaf004f72a3bff31215220dfac54dd050..e6753816fd2bba6855a0b531ce726be182a2aee5 100644 (file)
@@ -1,6 +1,4 @@
 { nixpkgs ? import <nixpkgs> {}, compiler ? "" }:
 with nixpkgs.pkgs;
 with (if haskell.packages ? ${compiler} then haskell.packages.${compiler} else haskellPackages);
-callPackage ./amqp-utils.nix {
-  amqp = haskell.lib.dontCheck (callPackage (import ./amqp.nix) {});
-}
+callPackage ./amqp-utils.nix { }
don't click here