git.iko.soy/typeable/cabal2nix
on master help sign in
Added Cabal and license file.
commit2339675abccdd3dd6c50da863a25c2897fa0f15a authorPeter Simons <simons@cryp.to> dateFri 5 Aug 2011, 17:39 (15 years ago) parentebfeff7
3 files changed+61
LICENSE+30 Setup.lhs+8 cabal2nix.cabal+23
LICENSEnew file+30
@@ -0,0 +1,30 @@
1+Redistribution and use in source and binary forms, with or
2+without modification, are permitted provided that the
3+following conditions are met:
4+
5+ * Redistributions of source code must retain the above
6+ copyright notice, this list of conditions and the
7+ following disclaimer.
8+
9+ * Redistributions in binary form must reproduce the above
10+ copyright notice, this list of conditions and the
11+ following disclaimer in the documentation and/or other
12+ materials provided with the distribution.
13+
14+ * The names of its contributors may not be used to endorse
15+ or promote products derived from this software without
16+ specific prior written permission.
17+
18+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
19+CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
20+INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
21+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
23+CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
25+NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
26+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
29+OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Setup.lhsnew file+8
@@ -0,0 +1,8 @@
1+#!/usr/bin/env runhaskell
2+
3+> module Main (main) where
4+>
5+> import Distribution.Simple
6+>
7+> main :: IO ()
8+> main = defaultMain
cabal2nix.cabalnew file+23
@@ -0,0 +1,23 @@
1+Name: cabal2nix
2+Version: 1.0
3+Copyright: (c) 2011 Peter Simons
4+License: BSD3
5+License-File: LICENSE
6+Author: Peter Simons <simons@cryp.to>
7+Maintainer: Peter Simons <simons@cryp.to>
8+Homepage: https://github.com/peti/cabal2nix
9+Category: Distribution
10+Synopsis: Convert Cabal files into Nix build instructions
11+Description: To be written.
12+Cabal-Version: >= 1.6
13+Build-Type: Simple
14+Tested-With: GHC == 7.0.2
15+
16+Source-Repository head
17+ Type: git
18+ Location: git://github.com/peti/cabal2nix.git
19+
20+Executable cabal2nix
21+ main-is: cabal2nix.hs
22+ Build-Depends: base >= 3 && < 5
23+ Ghc-Options: -Wall