git.iko.soy/typeable/cabal2nix
on master help sign in
Configure flags and post-processing hooks for 'git-annex'.
commit3f124e540232069c256045e3a4566b09ae4d3c49 authorPeter Simons <simons@cryp.to> dateFri 22 Feb 2013, 16:16 (14 years ago) parentf7b61be
2 files changed+2
src/Cabal2Nix/Flags.hs+1 src/Cabal2Nix/PostProcess.hs+1
src/Cabal2Nix/Flags.hs+1
@@ -7,6 +7,7 @@ configureCabalFlags :: PackageIdentifier -> FlagAssignment
77configureCabalFlags (PackageIdentifier (PackageName name) _)
88 | name == "accelerate-examples"= [disable "opencl"]
99 | name == "pandoc" = [enable "blaze_html_0_5"]
10+ | name == "git-annex" = [enable "S3", enable "WebDAV", enable "Inotify", enable "Dbus", enable "Assistant", enable "Webapp", enable "Pairing", enable "XMPP", enable "DNS"]
1011 | name == "haskeline" = [enable "terminfo"]
1112 | name == "reactive-banana-wx" = [disable "buildExamples"]
1213 | name == "xmobar" = [enable "with_xft", enable "with_iwlib"]
src/Cabal2Nix/PostProcess.hs+1
@@ -16,6 +16,7 @@ postProcess deriv@(MkDerivation {..})
1616 | pname == "editline" = deriv { extraLibs = "libedit":extraLibs }
1717 | pname == "epic" = deriv { extraLibs = "gmp":"boehmgc":extraLibs, buildTools = "happy":buildTools }
1818 | pname == "ghc-mod" = deriv { phaseOverrides = ghcModPostInstall, buildTools = "emacs":buildTools }
19+ | pname == "git-annex" = deriv { buildTools = "git":"rsync":"gnupg1":"curl":"lsof":"openssh":"bup":buildTools }
1920 | pname == "glade" = deriv { extraLibs = "pkgconfig":"libc":extraLibs, pkgConfDeps = "gtkC":delete "gtk" pkgConfDeps }
2021 | pname == "glib" = deriv { extraLibs = "pkgconfig":"libc":extraLibs }
2122 | pname == "GLUT" = deriv { extraLibs = "glut":"libSM":"libICE":"libXmu":"libXi":"mesa":extraLibs }