[Git][haskell-team/DHG_packages][master] Add ghc-typelits-natnormalise package
Scott Talbert (@swt2c)
gitlab at salsa.debian.org
Tue Apr 26 00:26:30 BST 2022
Scott Talbert pushed to branch master at Debian Haskell Group / DHG_packages
Commits:
8a6135b7 by Scott Talbert at 2022-04-25T19:21:33-04:00
Add ghc-typelits-natnormalise package
- - - - -
7 changed files:
- + p/haskell-ghc-typelits-natnormalise/debian/changelog
- + p/haskell-ghc-typelits-natnormalise/debian/compat
- + p/haskell-ghc-typelits-natnormalise/debian/control
- + p/haskell-ghc-typelits-natnormalise/debian/copyright
- + p/haskell-ghc-typelits-natnormalise/debian/rules
- + p/haskell-ghc-typelits-natnormalise/debian/source/format
- + p/haskell-ghc-typelits-natnormalise/debian/watch
Changes:
=====================================
p/haskell-ghc-typelits-natnormalise/debian/changelog
=====================================
@@ -0,0 +1,5 @@
+haskell-ghc-typelits-natnormalise (0.7.3-1) unstable; urgency=low
+
+ * Initial release
+
+ -- Scott Talbert <swt at techie.net> Mon, 25 Apr 2022 15:53:06 -0400
=====================================
p/haskell-ghc-typelits-natnormalise/debian/compat
=====================================
@@ -0,0 +1 @@
+10
=====================================
p/haskell-ghc-typelits-natnormalise/debian/control
=====================================
@@ -0,0 +1,90 @@
+Source: haskell-ghc-typelits-natnormalise
+Maintainer: Debian Haskell Group <pkg-haskell-maintainers at lists.alioth.debian.org>
+Uploaders: Scott Talbert <swt at techie.net>
+Priority: optional
+Section: haskell
+Build-Depends: debhelper (>= 10),
+ haskell-devscripts-minimal | haskell-devscripts (>= 0.13),
+ cdbs,
+ ghc,
+ ghc-prof,
+ libghc-ghc-tcplugins-extra-dev (>= 0.3.1),
+ libghc-ghc-tcplugins-extra-prof,
+ libghc-tasty-dev (>= 0.10),
+ libghc-tasty-prof,
+ libghc-tasty-hunit-dev (>= 0.9),
+ libghc-tasty-hunit-prof,
+Build-Depends-Indep: ghc-doc,
+ libghc-ghc-tcplugins-extra-doc,
+Standards-Version: 4.6.0
+Homepage: https://www.clash-lang.org/
+Vcs-Browser: https://salsa.debian.org/haskell-team/DHG_packages/tree/master/p/haskell-ghc-typelits-natnormalise
+Vcs-Git: https://salsa.debian.org/haskell-team/DHG_packages.git
+X-Description: GHC typechecker plugin for types of kind GHC.TypeLits.Nat
+ A type checker plugin for GHC that can solve equalities and inequalities
+ of types of kind @Nat@, where these types are either:
+ .
+ * Type-level naturals
+ .
+ * Type variables
+ .
+ * Applications of the arithmetic expressions (+,-,*,^).
+ .
+ It solves these equalities by normalising them to sort-of SOP
+ (Sum-of-Products) form, and then perform a simple syntactic equality.
+ .
+ For example, this solver can prove the equality between:
+ .
+ (x + 2)^(y + 2)
+ .
+ and
+ .
+ 4*x*(2 + x)^y + 4*(2 + x)^y + (2 + x)^y*x^2
+ .
+ Because the latter is actually the SOP normal form of the former.
+ .
+ To use the plugin, add the
+ .
+ OPTIONS_GHC -fplugin GHC.TypeLits.Normalise
+ .
+ Pragma to the header of your file.
+
+Package: libghc-ghc-typelits-natnormalise-dev
+Architecture: any
+Depends: ${haskell:Depends},
+ ${misc:Depends},
+ ${shlibs:Depends},
+Recommends: ${haskell:Recommends},
+Suggests: ${haskell:Suggests},
+Conflicts: ${haskell:Conflicts},
+Provides: ${haskell:Provides},
+Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
+ ${haskell:LongDescription}
+ .
+ ${haskell:Blurb}
+
+Package: libghc-ghc-typelits-natnormalise-prof
+Architecture: any
+Depends: ${haskell:Depends},
+ ${misc:Depends},
+Recommends: ${haskell:Recommends},
+Suggests: ${haskell:Suggests},
+Conflicts: ${haskell:Conflicts},
+Provides: ${haskell:Provides},
+Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
+ ${haskell:LongDescription}
+ .
+ ${haskell:Blurb}
+
+Package: libghc-ghc-typelits-natnormalise-doc
+Architecture: all
+Section: doc
+Depends: ${haskell:Depends},
+ ${misc:Depends},
+Recommends: ${haskell:Recommends},
+Suggests: ${haskell:Suggests},
+Conflicts: ${haskell:Conflicts},
+Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
+ ${haskell:LongDescription}
+ .
+ ${haskell:Blurb}
=====================================
p/haskell-ghc-typelits-natnormalise/debian/copyright
=====================================
@@ -0,0 +1,42 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: ghc-typelits-natnormalise
+Upstream-Contact: christiaan.baaij at gmail.com
+Source: https://hackage.haskell.org/package/ghc-typelits-natnormalise
+
+Files: *
+Copyright: Copyright © 2015-2016, University of Twente,
+ 2017-2018, QBayLogic B.V.
+License: BSD-2-clause
+
+Files: debian/*
+Copyright: held by the contributors mentioned in debian/changelog
+License: BSD-2-clause
+
+License: BSD-2-clause
+ Copyright (c) 2015-2016, University of Twente,
+ 2017-2018, QBayLogic B.V.
+ All rights reserved.
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the
+ distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
=====================================
p/haskell-ghc-typelits-natnormalise/debian/rules
=====================================
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+DEB_ENABLE_TESTS = yes
+DEB_SETUP_BIN_NAME = debian/hlibrary.setup
+DEB_CABAL_PACKAGE = ghc-typelits-natnormalise
+DEB_DEFAULT_COMPILER = ghc
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/hlibrary.mk
=====================================
p/haskell-ghc-typelits-natnormalise/debian/source/format
=====================================
@@ -0,0 +1 @@
+3.0 (quilt)
=====================================
p/haskell-ghc-typelits-natnormalise/debian/watch
=====================================
@@ -0,0 +1,2 @@
+version=3
+https://hackage.haskell.org/package/ghc-typelits-natnormalise/distro-monitor .*-([0-9\.]+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/8a6135b78d3425cec6baf2a32b98157b60a77aa8
--
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/8a6135b78d3425cec6baf2a32b98157b60a77aa8
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20220425/47ece04f/attachment-0001.htm>
More information about the Pkg-haskell-commits
mailing list