<commit_before>module Distribution.Nixpkgs.Haskell.FromCabal.Configuration.Maintainers ( globalPackageMaintainers ) where

import Data.Map as Map
import Data.Set as Set
import Distribution.Nixpkgs.Haskell.FromCabal.Configuration
import Control.Lens.Create

globalPackageMaintainers :: Map PackageName (Set Identifier)
globalPackageMaintainers = Map.unionsWith Set.union [ Map.singleton p (Set.singleton m) | (m,ps) <- maintainedPackages, p <- ps ]

maintainedPackages :: [(Identifier, [PackageName])]
maintainedPackages =
  [ "simons" |->
       [ "cabal2nix", "funcmp", "hackage-db", "hledger-interest", "hopenssl"
       , "hsdns", "hsemail", "hsyslog", "jailbreak-cabal", "language-nix"
       , "streamproc"
       ]
  , "gebner" |-> [ "hledger-diff" ]
  , "jb55" |-> [ "pipes-csv", "pipes-mongodb", "cased" ]
  , "psibi" |-> [ "shakespeare", "path-pieces", "persistent", "persistent-mysql"
                , "persistent-postgresql", "persistent-sqlite", "persistent-redis"
                , "persistent-mongoDB", "persistent-template", "persistent-zookeeper"]
  ]

(|->) :: String -> [String] -> (Identifier,[PackageName])
(|->) m ps = (create ident m, Prelude.map PackageName ps)<commit_msg>Add myself as a maintainer for git-annex.<commit_after>module Distribution.Nixpkgs.Haskell.FromCabal.Configuration.Maintainers ( globalPackageMaintainers ) where

import Data.Map as Map
import Data.Set as Set
import Distribution.Nixpkgs.Haskell.FromCabal.Configuration
import Control.Lens.Create

globalPackageMaintainers :: Map PackageName (Set Identifier)
globalPackageMaintainers = Map.unionsWith Set.union [ Map.singleton p (Set.singleton m) | (m,ps) <- maintainedPackages, p <- ps ]

maintainedPackages :: [(Identifier, [PackageName])]
maintainedPackages =
  [ "simons" |->
       [ "cabal2nix", "funcmp", "hackage-db", "hledger-interest", "hopenssl"
       , "hsdns", "hsemail", "hsyslog", "jailbreak-cabal", "language-nix"
       , "streamproc", "git-annex"
       ]
  , "gebner" |-> [ "hledger-diff" ]
  , "jb55" |-> [ "pipes-csv", "pipes-mongodb", "cased" ]
  , "psibi" |-> [ "shakespeare", "path-pieces", "persistent", "persistent-mysql"
                , "persistent-postgresql", "persistent-sqlite", "persistent-redis"
                , "persistent-mongoDB", "persistent-template", "persistent-zookeeper"]
  ]

(|->) :: String -> [String] -> (Identifier,[PackageName])
(|->) m ps = (create ident m, Prelude.map PackageName ps)
{'fraction_non_alphanumeric': 0.16427104722792607, 'fraction_numerical': 0.0024640657084188913, 'mean_word_length': 4.1940298507462686, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5222030', 'n_tokens_mistral': 869, 'n_tokens_neox': 831, 'n_words': 158}