In utils/hsc2hs, add LICENSE and hsc2hs.cabal from the standalone repo
authorIan Lynagh <igloo@earth.li>
Fri, 4 Jul 2008 22:22:06 +0000 (22:22 +0000)
committerIan Lynagh <igloo@earth.li>
Fri, 4 Jul 2008 22:22:06 +0000 (22:22 +0000)
utils/hsc2hs/LICENSE [new file with mode: 0644]
utils/hsc2hs/hsc2hs.cabal [new file with mode: 0644]

diff --git a/utils/hsc2hs/LICENSE b/utils/hsc2hs/LICENSE
new file mode 100644 (file)
index 0000000..b5059b7
--- /dev/null
@@ -0,0 +1,31 @@
+The Glasgow Haskell Compiler License
+
+Copyright 2002, The University Court of the University of Glasgow. 
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+- Redistributions of source code must retain the above copyright notice,
+this list of conditions and the following disclaimer.
+- 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.
+- Neither name of the University nor the names of its contributors may be
+used to endorse or promote products derived from this software without
+specific prior written permission. 
+
+THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY COURT OF THE UNIVERSITY OF
+GLASGOW AND THE 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
+UNIVERSITY COURT OF THE UNIVERSITY OF GLASGOW OR THE 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.
diff --git a/utils/hsc2hs/hsc2hs.cabal b/utils/hsc2hs/hsc2hs.cabal
new file mode 100644 (file)
index 0000000..ec7f808
--- /dev/null
@@ -0,0 +1,28 @@
+Name: hsc2hs
+Version: 0.67
+Copyright: 2000, Marcin Kowalczyk
+Build-Depends: base, directory, process
+License: BSD3
+License-File: LICENSE
+Author: Marcin Kowalczyk <qrczak@knm.org.pl>
+Maintainer: cvs-fptools@haskell.org
+Synopsis: A preprocessor that helps with writing Haskell bindings to C code
+Description:
+       The hsc2hs program can be used to automate some parts of the
+       process of writing Haskell bindings to C code.  It reads an
+       almost-Haskell source file with embedded special constructs, and
+       outputs a real Haskell file with these constructs processed, based
+       on information taken from some C headers.  The extra constructs
+       provide Haskell counterparts of C types, values of C constants,
+       including sizes of C types, and access to fields of C structs.
+       .
+       For more details, see
+       http://www.haskell.org/ghc/docs/latest/html/users_guide/hsc2hs.html
+Category: Development
+Data-Files: template-hsc.h
+
+Executable: hsc2hs
+Main-Is: Main.hs
+-- needed for ReadP (used by Data.Version)
+Hugs-Options: -98
+Extensions: CPP, ForeignFunctionInterface