git.iko.soy/typeable/cabal2nix
on v1.0 help sign in
typeable/cabal2nix/cabal2nix.cabal
33 lines 1.2 kB history raw
1Name: cabal2nix
2Version: 1.0
3Copyright: (c) 2011 Peter Simons
4License: BSD3
5License-File: LICENSE
6Author: Peter Simons <simons@cryp.to>
7Maintainer: Peter Simons <simons@cryp.to>
8Homepage: http://github.com/peti/cabal2nix
9Category: Distribution
10Synopsis: Convert Cabal files into Nix build instructions
11Cabal-Version: >= 1.6
12Build-Type: Simple
13Tested-With: GHC == 7.0.2
14Description: This utility converts Cabal files into Nix build
15 instructions. Run the binary as follows:
16 .
17 > cabal2nix foo.cabal 57ae0330a3d0520bae3d1e447d7d5c88de9ecbf0de133f31f2cc42961c81d47f
18 .
19 The first argument is the path to the cabal file
20 to be converted, the second argument is the
21 SHA256 hash of the corresponding source tarball.
22 .
23 The Nix build instructions will be written to
24 stdout.
26Source-Repository head
27 Type: git
28 Location: git://github.com/peti/cabal2nix.git
30Executable cabal2nix
31 main-is: cabal2nix.hs
32 Build-Depends: base >= 3 && < 5, Cabal
33 Ghc-Options: -Wall