1{-# LANGUAGE PatternGuards, CPP #-}
3module Main ( main ) where
6 I use the following shell script to re-build "hackage-packages.nix":
13 | make --quiet cabal2nix.cabal
14 | cabal build -j hackage2nix
15 | time dist/build/hackage2nix/hackage2nix >hackage-packages.nix
16 | mv hackage-packages.nix ~/.nix-defexpr/pkgs/development/haskell-modules/hackage-packages.nix
17 | nix-env -qaP -A haskellngPackages | tail -1
19 Make sure that "nix-env -qaP" shows the top-level Nixpkgs attributes at the
20 top level, i.e. without any prefix like "nixos.pkgs". Otherwise, the code
21 that resolver in Distribution/Nixpkgs/PackageMap.hs will produce bogus
25-- Run: cabal build -j hackage2nix && time dist/build/hackage2nix/hackage2nix >hackage-packages.nix && mv hackage-packages.nix ~/.nix-defexpr/pkgs/development/haskell-modules/hackage-packages.nix && nix-env -qaP -A haskellngPackages | tail -1
27import Cabal2Nix.Flags ( configureCabalFlags )
28import Cabal2Nix.Generate ( cabal2nix' )
29import Cabal2Nix.Hackage ( readHashedHackage, Hackage )
30import Cabal2Nix.Package
34import Control.Monad.Par.Combinator
35import Control.Monad.Par.IO
36import Control.Monad.Trans ( liftIO )
37import Data.Map.Strict ( Map )
38import qualified Data.Map.Strict as Map
41import Data.Set ( Set )
42import qualified Data.Set as Set
43import Distribution.Compiler
44import Distribution.Nixpkgs.Haskell
45import Distribution.Nixpkgs.PackageMap
46import Distribution.Nixpkgs.Util.PrettyPrinting hiding ( attr, (<>) )
47import Distribution.Package
48import Distribution.PackageDescription hiding ( buildDepends, extraLibs, buildTools )
49import Distribution.PackageDescription.Configuration
50import Distribution.System
51import Distribution.Text
52import Distribution.Version
54type Nixpkgs = PackageMap -- Map String (Set [String])
55type PackageSet = Map String Version
56type PackageMultiSet = Map String (Set Version)
58type Constraint = Dependency
60resolveConstraint :: Constraint -> Hackage -> Version
61resolveConstraint c = fromMaybe (error ("constraint " ++ display c ++ " cannot be resolved in Hackage")) .
64resolveConstraint' :: Constraint -> Hackage -> Maybe Version
65resolveConstraint' (Dependency (PackageName name) vrange) hackage | Set.null vs = Nothing
66 | otherwise = Just (Set.findMax vs)
67 where vs = Set.filter (`withinRange` vrange) (Map.keysSet (hackage Map.! name))
69data Configuration = Configuration
71 -- |Target architecture. Used by 'finalizePackageDescription' to
72 -- choose appropriate flags and dependencies.
75 -- |Target compiler. Used by 'finalizePackageDescription' to choose
76 -- appropriate flags and dependencies.
77 , compilerId :: CompilerId
79 -- |Core packages found on Hackageg
80 , corePackages :: [PackageIdentifier]
82 -- |Core packages not found on Hackage.
83 , hardCorePackages :: [PackageIdentifier]
85 -- |These packages replace the latest respective version during
86 -- dependency resolution.
87 , defaultPackageOverrides :: [Constraint]
89 -- |These packages are added to the generated set, but the play no
90 -- role during dependency resolution.
91 , extraPackages :: [Constraint]
93 -- |These packages have not succeeded a build yet, so we give them an
94 -- empty meta.hydraPlatforms attribute to avoid cluttering our Hydra
95 -- output with lots of broken builds.
96 , brokenPackages :: Set PackageName
102 hackage <- readHashedHackage
103 nixpkgs <- readNixpkgPackageMap
104 let fixup = Map.delete "acme-everything" -- TODO: https://github.com/NixOS/cabal2nix/issues/164
105 . Map.delete "type" -- TODO: https://github.com/NixOS/cabal2nix/issues/163
106 runParIO $ generatePackageSet defaultConfiguration (fixup hackage) nixpkgs
108generatePackageSet :: Configuration -> Hackage -> Nixpkgs -> ParIO ()
109generatePackageSet config hackage nixpkgs = do
111 corePackageSet :: PackageSet
112 corePackageSet = Map.fromList [ (name, v) | PackageIdentifier (PackageName name) v <- corePackages config ++ hardCorePackages config ]
114 latestVersionSet :: PackageSet
115 latestVersionSet = Map.map (Set.findMax . Map.keysSet) hackage
117 defaultPackageOverridesSet :: PackageSet
118 defaultPackageOverridesSet = Map.fromList [ (name, resolveConstraint c hackage) | c@(Dependency (PackageName name) _) <- defaultPackageOverrides config ]
120 generatedDefaultPackageSet :: PackageSet
121 generatedDefaultPackageSet = (defaultPackageOverridesSet `Map.union` latestVersionSet) `Map.difference` corePackageSet
123 latestCorePackageSet :: PackageSet
124 latestCorePackageSet = latestVersionSet `Map.intersection` corePackageSet
126 latestOverridePackageSet :: PackageSet
127 latestOverridePackageSet = latestVersionSet `Map.intersection` defaultPackageOverridesSet
129 extraPackageSet :: PackageMultiSet
130 extraPackageSet = Map.unionsWith Set.union
131 [ Map.singleton name (Set.singleton (resolveConstraint c hackage)) | c@(Dependency (PackageName name) _) <- extraPackages config ]
133 db :: PackageMultiSet
134 db = Map.unionsWith Set.union [ Map.map Set.singleton generatedDefaultPackageSet
135 , Map.map Set.singleton latestCorePackageSet
136 , Map.map Set.singleton latestOverridePackageSet
140 knownAttributesSet :: Set String
141 knownAttributesSet = Set.union (Map.keysSet hackage) (Map.keysSet corePackageSet)
143 resolver :: Dependency -> Bool
144 resolver (Dependency (PackageName name) vrange)
145 | Just v <- Map.lookup name corePackageSet = v `withinRange` vrange
146 | Just v <- Map.lookup name generatedDefaultPackageSet = v `withinRange` vrange
149 liftIO $ do putStrLn "/* hackage-packages.nix is an auto-generated file -- DO NOT EDIT! */"
151 putStrLn "{ pkgs, stdenv, callPackage }:"
155 pkgs <- flip parMapM (Map.toAscList db) $ \(name, vs) -> do
156 defs <- forM (Set.toAscList vs) $ \pkgversion -> do
157 srcSpec <- liftIO $ sourceFromHackage Nothing (name ++ "-" ++ display pkgversion)
158 let Just cabalFileHash = lookup "x-cabal-file-hash" (customFieldsPD (packageDescription descr))
160 -- TODO: Include list of broken dependencies in the generated output.
161 descr = hackage Map.! name Map.! pkgversion
162 (missingDeps, _, drv') = cabal2nix resolver descr
163 drv = drv' { src = srcSpec, editedCabalFile = if revision drv == 0 then "" else cabalFileHash
164 , metaSection = (metaSection drv') { broken = not (Set.null missing) -- Missing Haskell dependencies!
165 , hydraPlatforms = if PackageName name `Set.member` brokenPackages config
166 then Set.singleton "stdenv.lib.platforms.none"
167 else hydraPlatforms (metaSection drv')
169 , jailbreak = not (null missingDeps) -- Dependency constraints aren't fulfilled
172 missing :: Set String
173 missing = Set.filter (`Set.notMember` knownAttributesSet) (buildDepends drv `Set.union` testDepends drv)
175 buildInputs :: Map Attribute (Maybe Path)
176 buildInputs = Map.unions
177 [ Map.fromList [ (n, Nothing) | n <- Set.toList missing ]
178 , Map.fromList [ (n, resolveNixpkgsAttribute nixpkgs n) | n <- Set.toAscList (extraLibs drv `Set.union` pkgConfDeps drv) ]
179 , Map.fromList [ (n, resolveNixpkgsOrHackageAttribute nixpkgs hackage n) | n <- Set.toAscList (buildTools drv) ]
182 systemOverrides :: Doc
183 systemOverrides = fsep (map (uncurry formatOverride) (Map.toAscList buildInputs))
185 formatOverride :: Attribute -> Maybe Path -> Doc
186 formatOverride n Nothing = space <> text n <> text " = null;" -- missing attribute
187 formatOverride n (Just []) -- Haskell package:
188 | n == name = formatOverride n Nothing -- refers to a missing system library
189 | otherwise = empty -- found by callPackage
190 formatOverride n (Just p) = (text " inherit" <+> parens (text (intercalate "." p)) <+> text n) <> semi
193 overrides = systemOverrides
195 attr | Just v <- Map.lookup name generatedDefaultPackageSet, v == pkgversion = name
196 | otherwise = name ++ '_' : [ if c == '.' then '_' else c | c <- display pkgversion ]
198 return $ nest 2 $ hang (string attr <+> equals <+> text "callPackage") 2 (parens (pPrint drv)) <+> (braces overrides <> semi)
199 return (intercalate "\n\n" (map render defs))
201 liftIO $ mapM_ (\pkg -> putStrLn pkg >> putStrLn "") pkgs
202 liftIO $ putStrLn "}"
204resolveNixpkgsOrHackageAttribute :: Nixpkgs -> Hackage -> Attribute -> Maybe Path
205resolveNixpkgsOrHackageAttribute nixpkgs hackage name
206 | p@(Just _) <- resolveNixpkgsAttribute nixpkgs name = p
207 | Just _ <- Map.lookup name hackage = Just []
208 | otherwise = Nothing
210resolveNixpkgsAttribute :: Nixpkgs -> Attribute -> Maybe Path
211resolveNixpkgsAttribute nixpkgs name
212 | name `elem` ["clang","lldb","llvm"] = Just ["self","llvmPackages"]
213 | Just paths <- Map.lookup name nixpkgs = getShortestPath (Set.toList (paths `Set.intersection` goodScopes))
214 | otherwise = Nothing
216 goodScopes :: Set Path
217 goodScopes = Set.fromList [[], ["xlibs"], ["gnome"], ["gnome3"], ["kde4"]]
219 getShortestPath :: [Path] -> Maybe Path
220 getShortestPath [] = Nothing
221 getShortestPath ps = Just ("pkgs" : minimumBy (on compare length) ps)
223cabal2nix :: (Dependency -> Bool) -> GenericPackageDescription -> ([Dependency], FlagAssignment, Derivation)
224cabal2nix resolver cabal = (missingDeps, flags, drv)
226 drv = cabal2nix' descr
228 Right (descr, flags) = finalize (if null missingDeps then resolver else const True) cabal
230 missingDeps :: [Dependency]
231 missingDeps = either id (const []) (finalize resolver cabal')
233 finalize :: (Dependency -> Bool) -> GenericPackageDescription -> Either [Dependency] (PackageDescription, FlagAssignment)
234 finalize resolver' = finalizePackageDescription
235 (configureCabalFlags (package (packageDescription cabal)))
237 (Platform X86_64 Linux) -- shouldn't be hardcoded
238#if MIN_VERSION_Cabal(1,22,0)
239 (unknownCompilerInfo (CompilerId GHC (Version [7,8,4] [])) NoAbiTag)
241 (CompilerId GHC (Version [7,8,4] []))
243 [] -- no additional constraints
245 -- A variant of the cabal file that has all test suites enabled to ensure
246 -- that their dependencies are recognized by finalizePackageDescription.
247 cabal' :: GenericPackageDescription
248 cabal' = cabal { condTestSuites = flaggedTests }
250 flaggedTests :: [(String, CondTree ConfVar [Dependency] TestSuite)]
251 flaggedTests = map (\(n, t) -> (n, mapTreeData enableTest t)) (condTestSuites cabal)
253 enableTest :: TestSuite -> TestSuite
254 enableTest t = t { testEnabled = True }
256defaultConfiguration :: Configuration
257defaultConfiguration = Configuration
258 { platform = Platform X86_64 Linux
260 , compilerId = CompilerId GHC (Version [7,8,4] [])
262 , defaultPackageOverrides = map (\s -> fromMaybe (error (show s ++ " is not a valid override selector")) (simpleParse s))
263 [ "blaze-builder < 0.4" -- the new version breaks many builds, like streaming-commons
264 , "blaze-html < 0.8" -- new versions break pandoc
265 , "blaze-markup < 0.7" -- new versions break pandoc
266 , "control-monad-free < 0.6" -- newer versions don't compile with anything but GHC 7.8.x
267 , "haddock-library == 1.1.*" -- new versions break pandoc
268 , "HStringTemplate < 0.8" -- 0.8 depends on time >= 1.5, which we cannot provide in GHC 7.8.x
269 , "mtl == 2.1.*" -- newer versions require transformers > 0.4.x, which we cannot provide in GHC 7.8.x
270 , "primitive < 0.6" -- newer versions break lens and others packages
271 , "QuickCheck < 2.8" -- 2.8 breaks chell-quickcheck-0.2.4
272 , "utf8-string < 1" -- version 1 breaks several packages right now, most notably hint
275 , corePackages = map (\s -> fromMaybe (error (show s ++ " is not a valid core package")) (simpleParse s))
280 , "bytestring-0.10.4.0"
281 , "containers-0.5.5.1"
283 , "directory-1.2.1.0"
286 , "haskeline-0.7.1.2"
287 , "haskell2010-1.1.2.0"
288 , "haskell98-2.0.0.3"
291 , "integer-gmp-0.5.1.0"
292 , "old-locale-1.0.0.6"
296 , "template-haskell-2.9.0.0"
299 , "transformers-0.3.0.0"
304 , hardCorePackages = map (\s -> fromMaybe (error (show s ++ " is not a valid core package")) (simpleParse s))
305 [ "bin-package-db-0.0.0.0"
310 , extraPackages = map (\s -> fromMaybe (error (show s ++ " is not a valid extra package selector")) (simpleParse s))
311 [ "aeson < 0.8" -- newer versions don't work with GHC 6.12.3
312 , "blaze-markup >=0.5.2.1 && <0.6.3.0" -- required by idris-0.9.17.1
313 , "blaze-html < 0.7.1" -- required by idris-0.9.17.1
314 , "c2hs < 0.21" -- newer versions cannot compile ncurses
315 , "Cabal == 1.18.*" -- required for cabal-install et al on old GHC versions
316 , "Cabal == 1.20.*" -- required for cabal-install et al on old GHC versions
317 , "cabal-install == 1.18.*" -- required for ghc-mod on 7.8.x
318 , "cpphs < 1.19" -- required to build Agda
319 , "haddock-api < 2.16" -- required on GHC 7.8.x
320 , "containers < 0.5" -- required to build alex with GHC 6.12.3
321 , "deepseq == 1.3.0.1" -- required to build Cabal with GHC 6.12.3
322 , "descriptive < 0.1" -- required for structured-haskell-mode-1.0.8
323 , "equivalence == 0.2.5" -- required to build Agda with GHC 7.8.x
324 , "gloss < 1.9.3" -- new versions don't compile with GHC 7.8.x
325 , "haskell-src-exts < 1.16" -- required for structured-haskell-mode-1.0.8
326 , "lens >=4.1.1 && <4.8" -- required by idris-0.9.17.1
327 , "mtl-prelude < 2" -- required for to build postgrest on mtl 2.1.x platforms
328 , "optparse-applicative == 0.10.*" -- required for elm-make 0.1.1 and elm-package 0.4
329 , "parallel == 3.2.0.3" -- newer versions don't work with GHC 6.12.3
330 , "primitive == 0.5.1.*" -- required to build alex with GHC 6.12.3
331 , "QuickCheck < 2" -- required by test-framework-quickcheck and its users
332 , "seqid < 0.2" -- newer versions depend on transformers 0.4.x which we cannot provide in GHC 7.8.x
333 , "seqid-streams < 0.2" -- newer versions depend on transformers 0.4.x which we cannot provide in GHC 7.8.x
334 , "split < 0.2" -- newer versions don't work with GHC 6.12.3
335 , "vector < 0.10.10" -- newer versions don't work with GHC 6.12.3
338 , brokenPackages = Set.fromList $ map PackageName
342 , "abstract-par-accelerate"
347 , "AC-EasyRaster-GTK"
349 , "acme-numbersystem"
350 , "acme-schoenfinkel"
356 , "adaptive-containers"
361 , "adp-multi-monadiccp"
367 , "AERN-Real-Interval"
377 , "aivika-transformers"
394 , "AndroidViewHierarchyImporter"
430 , "atlassian-connect-core"
431 , "atlassian-connect-descriptor"
435 , "attoparsec-iteratee"
437 , "attoparsec-text-enumerator"
449 , "aws-cloudfront-signer"
450 , "aws-elastic-transcoder"
451 , "aws-kinesis-reshard"
455 , "azure-service-api"
457 , "backtracking-exceptions"
460 , "bamboo-plugin-highlight"
461 , "bamboo-plugin-photo"
462 , "bamboo-theme-blueprint"
463 , "bamboo-theme-mini-html5"
475 , "bed-and-breakfast"
482 , "bidirectionalization-combined"
487 , "billeksah-services"
490 , "binary-protocol-zmq"
494 , "bindings-apr-util"
510 , "bindings-libstemmer"
512 , "bindings-linux-videodev2"
513 , "bindings-mpdecimal"
524 , "BiobaseTrainingData"
549 , "blaze-html-contrib"
550 , "blaze-html-hexpat"
551 , "blaze-textual-native"
554 , "BlogLiterately-diagrams"
559 , "boolean-normal-forms"
581 , "bytestring-rematch"
586 , "cabal-constraints"
590 , "Cabal-ide-backend"
591 , "cabal-install-ghc72"
592 , "cabal-install-ghc74"
615 , "casadi-bindings-control"
616 , "casadi-bindings-core"
617 , "casadi-bindings-internal"
618 , "casadi-bindings-ipopt-interface"
619 , "casadi-bindings-snopt-interface"
628 , "categorical-algebra"
633 , "cctools-workqueue"
635 , "cereal-enumerator"
645 , "chalkboard-viewer"
673 , "clckwrks-plugin-bugs"
674 , "clckwrks-plugin-ircbot"
675 , "clckwrks-plugin-media"
676 , "clckwrks-plugin-page"
677 , "clckwrks-theme-bootstrap"
678 , "clckwrks-theme-clckwrks"
679 , "clckwrks-theme-geo-bootstrap"
689 , "cloudfront-signer"
700 , "cnc-spec-compiler"
702 , "Codec-Image-DevIL"
723 , "computational-algebra"
731 , "conduit-audio-lame"
732 , "conduit-audio-samplerate"
734 , "conduit-network-stream"
735 , "conduit-resumablesink"
740 , "const-math-ghc-plugin"
741 , "constructive-algebra"
749 , "control-monad-attempt"
750 , "control-monad-exception-mtl"
751 , "control-monad-failure"
752 , "control-monad-failure-mtl"
753 , "Control-Monad-MultiPass"
754 , "contstuff-monads-tf"
755 , "contstuff-transformers"
756 , "convertible-ascii"
765 , "coroutine-iteratee"
768 , "couchdb-enumerator"
787 , "crf-chain2-generic"
791 , "crypto-cipher-benchmarks"
819 , "darcs-buildpackage"
822 , "darcs-fastconvert"
860 , "definitive-filesystem"
861 , "definitive-graphics"
862 , "definitive-reactive"
881 , "dice-entropy-conduit"
885 , "DifferentialEvolution"
886 , "digestive-functors-hsp"
898 , "distributed-process-azure"
899 , "distributed-process-execution"
900 , "distributed-process-registry"
901 , "distributed-process-task"
902 , "distributed-process-zookeeper"
903 , "distribution-plot"
906 , "DnaProteinAlignment"
914 , "doctest-discover-configurator"
917 , "download-media-content"
968 , "effective-aspects"
969 , "effective-aspects-mzv"
973 , "eibd-client-simple"
985 , "embeddock-example"
1008 , "Eternal10Seconds"
1010 , "ethereum-client-haskell"
1011 , "ethereum-merkle-patricia-db"
1016 , "every-bit-counts"
1020 , "expat-enumerator"
1022 , "explicit-sharing"
1024 , "exposed-containers"
1028 , "extended-categories"
1043 , "feldspar-compiler"
1044 , "feldspar-language"
1047 , "FermatsLastMargin"
1050 , "ffmpeg-tutorials"
1058 , "filesystem-conduit"
1059 , "Finance-Quote-Yahoo"
1060 , "Finance-Treasury"
1063 , "first-class-patterns"
1065 , "FirstOrderTheory"
1069 , "fixed-point-vector"
1070 , "fixed-point-vector-space"
1072 , "fixed-storable-array"
1073 , "fix-parser-simple"
1074 , "fix-symbols-gitit"
1076 , "flexiwrap-smallcheck"
1085 , "foldl-incremental"
1090 , "font-opengl-basic4x6"
1108 , "free-operational"
1111 , "free-theorems-counterexamples"
1112 , "free-theorems-seq"
1113 , "free-theorems-seq-webui"
1114 , "free-theorems-webui"
1124 , "full-text-search"
1125 , "functional-arrow"
1126 , "function-combine"
1138 , "gc-monitoring-wai"
1144 , "genericserialize"
1145 , "generic-storable"
1156 , "GeomPredicates-SSE"
1161 , "ghc-events-analyze"
1162 , "ghc-generic-instances"
1167 , "ghc-prim_0_4_0_0"
1182 , "gladexml-accessor"
1198 , "google-html5-slide"
1206 , "GPipe-TextureLoad"
1211 , "grammar-combinators"
1213 , "GraphHammer-examples"
1215 , "graphics-formats-collada"
1217 , "graph-rewriting-cl"
1218 , "graph-rewriting-lambdascope"
1233 , "gtk2hs-cast-gnomevfs"
1235 , "gtk2hs-cast-gtkglext"
1238 , "gtk3-mac-integration"
1242 , "gtk-mac-integration"
1244 , "gtk-serialized-event"
1246 , "guess-combinator"
1251 , "hack2-contrib-extra"
1252 , "hack2-handler-happstack-server"
1253 , "hack2-handler-mongrel2-http"
1254 , "hack2-handler-warp"
1255 , "hack2-interface-wai"
1263 , "hack-contrib-press"
1265 , "hack-frontend-happstack"
1266 , "hack-frontend-monadcgi"
1267 , "hack-handler-epoll"
1268 , "hack-handler-evhttp"
1269 , "hack-handler-fastcgi"
1270 , "hack-handler-happstack"
1271 , "hack-handler-hyena"
1272 , "hack-handler-kibro"
1273 , "hack-handler-simpleserver"
1274 , "hack-middleware-clientsession"
1275 , "hack-middleware-jsonp"
1283 , "hakyll-blaze-templates"
1285 , "hakyll-contrib-links"
1301 , "happs-hsp-template"
1306 , "happstack-clientsession"
1307 , "happstack-contrib"
1310 , "happstack-facebook"
1311 , "happstack-fastcgi"
1313 , "happstack-foundation"
1315 , "happstack-helpers"
1317 , "happstack-monad-peel"
1318 , "happstack-plugins"
1325 , "happybara-webkit"
1326 , "happybara-webkit-server"
1341 , "hashable-generics"
1353 , "haskell-brainfuck"
1355 , "haskelldb-dynamic"
1356 , "haskelldb-hdbc-mysql"
1358 , "haskelldb-hsql-mysql"
1359 , "haskelldb-hsql-odbc"
1360 , "haskelldb-hsql-postgresql"
1361 , "haskelldb-hsql-sqlite3"
1363 , "haskell-formatter"
1365 , "haskell-neo4j-client"
1368 , "haskell-openflow"
1369 , "haskell-pdf-presenter"
1370 , "haskell-platform-test"
1375 , "haskell-spacegoo"
1376 , "haskell-src-meta-mwotton"
1377 , "haskell-token-utils"
1379 , "haskell-type-exts"
1390 , "haskoon-httpspec"
1392 , "haskore-supercollider"
1393 , "haskore-synthesizer"
1422 , "hdaemonize-buildfix"
1446 , "her-lexer-parsec"
1455 , "hexpat-pickle-generic"
1466 , "HGamer3D-CAudio-Binding"
1467 , "HGamer3D-CEGUI-Binding"
1468 , "HGamer3D-Enet-Binding"
1469 , "HGamer3D-Graphics3D"
1471 , "HGamer3D-InputSystem"
1472 , "HGamer3D-Network"
1473 , "HGamer3D-Ogre-Binding"
1474 , "HGamer3D-OIS-Binding"
1475 , "HGamer3D-SDL2-Binding"
1476 , "HGamer3D-SFML-Binding"
1477 , "HGamer3D-WinEvent"
1489 , "hierarchical-clustering-diagrams"
1498 , "hinduce-classifier"
1499 , "hinduce-classifier-decisiontree"
1500 , "hinduce-examples"
1514 , "HLearn-approximation"
1515 , "HLearn-classification"
1516 , "HLearn-datastructures"
1517 , "HLearn-distributions"
1528 , "hmatrix-gsl-stats"
1529 , "hmatrix-quadprogpp"
1550 , "Holumbus-Distribution"
1551 , "Holumbus-MapReduce"
1552 , "Holumbus-Searchengine"
1553 , "Holumbus-Storage"
1610 , "hs-carbon-examples"
1615 , "hscurses-fish-ex"
1642 , "hsndfile-storablevector"
1650 , "hspec-expectations-pretty"
1651 , "hspec-experimental"
1660 , "hsqml-demo-samples"
1671 , "hs-twitterarchiver"
1686 , "http-client-request-modifiers"
1687 , "http-conduit-browser"
1691 , "https-everywhere-rules"
1736 , "ige-mac-integration"
1745 , "ImperativeHaskell"
1753 , "InfixApplicative"
1760 , "interleavableGen"
1763 , "interpolatedstring-qq"
1764 , "interpolatedstring-qq-mwotton"
1772 , "iptables-helpers"
1778 , "iteratee-compress"
1792 , "ivory-quickcheck"
1820 , "JSON-Combinator-Examples"
1824 , "JunkDB-driver-gdbm"
1827 , "kansas-lava-cores"
1828 , "kansas-lava-papilio"
1829 , "kansas-lava-shake"
1835 , "kickass-torrents-dump-parser"
1843 , "koellner-phonetic"
1847 , "kure-your-boilerplate"
1851 , "labyrinth-server"
1856 , "lambdacube-bullet"
1857 , "lambdacube-engine"
1858 , "lambdacube-examples"
1861 , "LambdaPrettyQuote"
1868 , "language-c-comments"
1871 , "language-java-classfile"
1873 , "language-python-colour"
1875 , "language-spelling"
1879 , "latest-npm-version"
1883 , "layout-bootstrap"
1888 , "learn-physics-examples"
1891 , "leveldb-haskell-fork"
1905 , "libsystemd-daemon"
1911 , "lighttpd-conf-qq"
1914 , "linear-algebra-cblas"
1925 , "listlike-instances"
1931 , "llvm-data-interop"
1933 , "llvm-general-pure"
1934 , "llvm-general-quote"
1942 , "LogicGrowsOnTrees"
1943 , "LogicGrowsOnTrees-MPI"
1944 , "LogicGrowsOnTrees-network"
1945 , "LogicGrowsOnTrees-processes"
1966 , "mailchimp-subscribe"
1969 , "manatee-anything"
1974 , "manatee-filemanager"
1975 , "manatee-imageviewer"
1977 , "manatee-pdfviewer"
1978 , "manatee-processmanager"
1980 , "manatee-template"
1981 , "manatee-terminal"
1989 , "markov-processes"
2000 , "MaybeT-monads-tf"
2013 , "meta-par-accelerate"
2039 , "modular-prelude-classy"
2040 , "module-management"
2045 , "MonadCatchIO-mtl-foreign"
2046 , "MonadCatchIO-transformers-foreign"
2049 , "monadiccp-gecode"
2050 , "monad-interleave"
2059 , "mongrel2-handler"
2081 , "multiplate-simplified"
2082 , "multirec-alt-deriver"
2086 , "musicbrainz-email"
2098 , "mysnapsession-example"
2099 , "mysql-simple-typed"
2120 , "network-anonymous-i2p"
2122 , "network-bytestring"
2123 , "network-connection"
2124 , "network-minihttp"
2128 , "network-simple-sockaddr"
2129 , "network-simple-tls"
2130 , "network-topic-models"
2131 , "network-websocket"
2148 , "not-gloss-examples"
2167 , "ois-input-manager"
2176 , "openexchangerates"
2182 , "openpgp-crypto-api"
2185 , "opentheory-parser"
2186 , "opentheory-prime"
2187 , "opentheory-primitive"
2210 , "parameterized-data"
2212 , "parco-attoparsec"
2213 , "parconc-examples"
2239 , "persistent-hssqlppp"
2241 , "persistent-protobuf"
2243 , "persistent-vector"
2259 , "pipes-cereal-plus"
2261 , "pipes-network-tls"
2263 , "pipes-p2p-examples"
2274 , "pointless-lenses"
2275 , "pointless-rewrite"
2279 , "polytypeable-utils"
2280 , "pontarius-mediaserver"
2292 , "postgresql-simple-typed"
2293 , "postgresql-typed"
2305 , "PriorityChansConverger"
2307 , "ProbabilityMonads"
2310 , "process-progress"
2312 , "procrastinating-structure"
2313 , "procrastinating-variable"
2316 , "profunctor-extras"
2321 , "proj4-hs-bindings"
2323 , "prolog-graph-lib"
2328 , "prove-everywhere-server"
2331 , "publicsuffixlistcreate"
2346 , "push-notify-general"
2349 , "puzzle-draw-cmdline"
2355 , "querystring-pickle"
2360 , "quickcheck-regex"
2361 , "quickcheck-relaxng"
2362 , "quickcheck-rematch"
2366 , "radium-formula-parser"
2367 , "rail-compiler-editor"
2373 , "random-hypergeometric"
2380 , "raven-haskell-scotty"
2387 , "reactive-banana-sdl"
2388 , "reactive-banana-threepenny"
2389 , "reactive-fieldtrip"
2393 , "really-simple-xml-parser"
2399 , "reflection-extras"
2410 , "regional-pointers"
2412 , "regions-monadsfd"
2413 , "regions-monadstf"
2419 , "relational-postgresql8"
2420 , "relational-query"
2421 , "relational-query-HDBC"
2422 , "relational-record"
2423 , "relational-record-examples"
2424 , "relational-schemas"
2434 , "representable-functors"
2435 , "representable-profunctors"
2436 , "representable-tries"
2442 , "restricted-workers"
2443 , "rethinkdb-client-driver"
2450 , "ripple-federation"
2460 , "roguestar-engine"
2463 , "RollingDirectory"
2489 , "safer-file-handles"
2490 , "safer-file-handles-bytestring"
2491 , "safer-file-handles-text"
2498 , "salvia-websocket"
2499 , "samtools-iteratee"
2502 , "satchmo-backends"
2503 , "satchmo-examples"
2508 , "scan-vector-machine"
2541 , "semigroupoid-extras"
2542 , "semigroups-actions"
2547 , "seqloc-datafiles"
2550 , "servant-postgresql"
2567 , "shakespeare-i18n"
2571 , "Shellac-compatline"
2572 , "Shellac-editline"
2583 , "simple-bluetooth"
2591 , "simple-log-syslog"
2593 , "simple-postgresql-orm"
2598 , "simple-templates"
2616 , "snaplet-actionlog"
2617 , "snaplet-auth-acid"
2618 , "snaplet-environments"
2622 , "snaplet-mongodb-minimalistic"
2630 , "sndfile-enumerators"
2639 , "sonic-visualiser"
2642 , "source-code-server"
2651 , "special-functors"
2654 , "speculation-transformers"
2664 , "sqlite-simple-typed"
2666 , "sql-simple-mysql"
2668 , "sql-simple-postgresql"
2669 , "sql-simple-sqlite"
2676 , "stackage-curator"
2677 , "standalone-haddock"
2680 , "statistics-dirichlet"
2681 , "statistics-fusion"
2684 , "stm-chunked-queues"
2689 , "storable-static-array"
2691 , "storablevector-carray"
2692 , "storablevector-streamfusion"
2693 , "Strafunski-Sdf2Haskell"
2694 , "StrappedTemplates"
2697 , "strict-concurrency"
2701 , "structural-induction"
2702 , "structured-mongoDB"
2705 , "sunroof-compiler"
2706 , "sunroof-examples"
2708 , "supercollider-midi"
2721 , "synchronous-channels"
2726 , "synthesizer-alsa"
2727 , "synthesizer-core"
2728 , "synthesizer-dimensional"
2729 , "synthesizer-midi"
2732 , "system-random-effect"
2744 , "tamarin-prover-term"
2745 , "tamarin-prover-theory"
2746 , "tamarin-prover-utils"
2757 , "template-haskell_2_10_0_0"
2761 , "test-framework-doctest"
2772 , "text-show-instances"
2773 , "text-xml-generic"
2778 , "theoremquest-client"
2807 , "tokyocabinet-haskell"
2811 , "to-string-instances"
2815 , "transactional-events"
2816 , "transformers-convert"
2817 , "transformers-runnable"
2820 , "treemap-html-tools"
2827 , "tsession-happstack"
2831 , "twentefp-rosetree"
2841 , "twitter-enumerator"
2844 , "twitter-types-lens"
2853 , "type-equality-check"
2858 , "typelevel-tensor"
2860 , "type-ord-spine-cereal"
2873 , "unbounded-delays-units"
2874 , "unboxed-containers"
2876 , "unicode-normalization"
2881 , "unix-process-conduit"
2883 , "unordered-containers-rematch"
2893 , "uri-enumerator-file"
2897 , "urldisp-happstack"
2905 , "uvector-algorithms"
2915 , "vector-bytestring"
2918 , "vector-functorlazy"
2920 , "vector-read-instances"
2929 , "visual-graphrewrite"
2939 , "wai-frontend-monadcgi"
2941 , "wai-handler-devel"
2942 , "wai-handler-snap"
2943 , "wai-handler-webkit"
2947 , "wai-logger-prefork"
2948 , "wai-middleware-cache"
2949 , "wai-middleware-cache-redis"
2950 , "wai-middleware-catch"
2951 , "wai-middleware-consul"
2952 , "wai-middleware-etag"
2953 , "wai-middleware-headers"
2954 , "wai-middleware-route"
2956 , "wai-session-tokyocabinet"
2964 , "WebBits-multiplate"
2965 , "web-browser-in-haskell"
2971 , "webkit-javascriptcore"
2974 , "web-routes-quasi"
2975 , "web-routes-transformers"
2987 , "Win32-dhcp-server"
2990 , "Win32-junction-point"
2994 , "Win32-services-wrapper"
2999 , "wl-pprint-terminfo"
3012 , "wumpus-microprint"
3030 , "xhaskell-library"
3042 , "xml-enumerator-combinators"
3051 , "xmms2-client-glib"
3052 , "xmonad-contrib-bluetilebranch"
3063 , "yahoo-web-search"
3074 , "yesod-auth-smbclient"
3076 , "yesod-continuations"
3077 , "yesod-datatables"
3079 , "yesod-eventsource"
3084 , "yesod-pagination"
3090 , "yesod-session-redis"
3091 , "yesod-static-angular"
3102 , "Yogurt-Standalone"
3121 , "zoom-cache-sndfile"
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list