summaryrefslogtreecommitdiff
path: root/p/haskell-semigroups/debian
diff options
context:
space:
mode:
authorClint Adams <clint@debian.org>2015-12-05 01:46:01 -0500
committerClint Adams <clint@debian.org>2015-12-05 01:46:01 -0500
commitd251e9fb4913246cb2d139ac531ebe7222bab60c (patch)
tree9915bd774b68591e2536ee6d87b759d5ffadd737 /p/haskell-semigroups/debian
parent99fceb3be3bb985883713e1df7471a33d6b0fe0b (diff)
downloadDHG_packages-d251e9fb4913246cb2d139ac531ebe7222bab60c.tar.gz
patch away usage of nats
Diffstat (limited to 'p/haskell-semigroups/debian')
-rw-r--r--p/haskell-semigroups/debian/control4
-rw-r--r--p/haskell-semigroups/debian/patches/no-nats12
-rw-r--r--p/haskell-semigroups/debian/patches/series1
3 files changed, 13 insertions, 4 deletions
diff --git a/p/haskell-semigroups/debian/control b/p/haskell-semigroups/debian/control
index a265e53cf..e267f5ffb 100644
--- a/p/haskell-semigroups/debian/control
+++ b/p/haskell-semigroups/debian/control
@@ -11,9 +11,6 @@ Build-Depends: debhelper (>= 9),
libghc-hashable-dev (>= 1.1),
libghc-hashable-dev (<< 1.3),
libghc-hashable-prof,
- libghc-nats-dev (>= 0.1),
- libghc-nats-dev (<< 2),
- libghc-nats-prof,
libghc-text-dev (>= 0.10),
libghc-text-dev (<< 2),
libghc-text-prof,
@@ -22,7 +19,6 @@ Build-Depends: debhelper (>= 9),
libghc-unordered-containers-prof,
Build-Depends-Indep: ghc-doc,
libghc-hashable-doc,
- libghc-nats-doc,
libghc-text-doc,
libghc-unordered-containers-doc,
Standards-Version: 3.9.6
diff --git a/p/haskell-semigroups/debian/patches/no-nats b/p/haskell-semigroups/debian/patches/no-nats
new file mode 100644
index 000000000..476c85b84
--- /dev/null
+++ b/p/haskell-semigroups/debian/patches/no-nats
@@ -0,0 +1,12 @@
+--- a/semigroups.cabal
++++ b/semigroups.cabal
+@@ -86,8 +86,7 @@
+ Data.Semigroup.Generic
+
+ build-depends:
+- base >= 2 && < 5,
+- nats >= 0.1 && < 2
++ base >= 4.8 && < 5
+
+ if impl(ghc >= 7.4 && < 7.5)
+ build-depends: ghc-prim
diff --git a/p/haskell-semigroups/debian/patches/series b/p/haskell-semigroups/debian/patches/series
new file mode 100644
index 000000000..ddd7d5bb4
--- /dev/null
+++ b/p/haskell-semigroups/debian/patches/series
@@ -0,0 +1 @@
+no-nats