tv git: move old stuff to the museum section

This commit is contained in:
tv 2015-11-09 18:34:02 +01:00
parent 2263c04e7c
commit 1f4d7ffa50
2 changed files with 11 additions and 6 deletions

View File

@ -30,4 +30,7 @@ rec {
subdirsOf = path: subdirsOf = path:
mapAttrs (name: _: path + "/${name}") mapAttrs (name: _: path + "/${name}")
(filterAttrs (_: eq "directory") (readDir path)); (filterAttrs (_: eq "directory") (readDir path));
mapAttrValues = f: mapAttrs (_: f);
setAttr = name: value: set: set // { ${name} = value; };
} }

View File

@ -20,26 +20,22 @@ let
rules = concatMap make-rules (attrValues repos); rules = concatMap make-rules (attrValues repos);
public-repos = mapAttrs make-public-repo ({ public-repos = mapAttrs make-public-repo ({
} // mapAttrValues (setAttr "section" "1. Miscellaneous") {
cac = { cac = {
desc = "CloudAtCost command line interface"; desc = "CloudAtCost command line interface";
}; };
cgserver = {};
crude-mail-setup = {};
dot-xmonad = {};
get = {}; get = {};
hack = {}; hack = {};
load-env = {}; load-env = {};
make-snapshot = {}; make-snapshot = {};
much = {}; much = {};
nixos-infest = {};
nixpkgs = {}; nixpkgs = {};
painload = {};
push = {}; push = {};
regfish = {}; regfish = {};
stockholm = { stockholm = {
desc = "take all the computers hostage, they'll love you!"; desc = "take all the computers hostage, they'll love you!";
}; };
} // mapAttrs (_: repo: repo // { section = "Haskell libraries"; }) { } // mapAttrValues (setAttr "section" "2. Haskell libraries") {
blessings = {}; blessings = {};
mime = {}; mime = {};
quipper = {}; quipper = {};
@ -48,6 +44,12 @@ let
web-routes-wai-custom = {}; web-routes-wai-custom = {};
xintmap = {}; xintmap = {};
xmonad-stockholm = {}; xmonad-stockholm = {};
} // mapAttrValues (setAttr "section" "3. Museum") {
cgserver = {};
crude-mail-setup = {};
dot-xmonad = {};
nixos-infest = {};
painload = {};
}); });
restricted-repos = mapAttrs make-restricted-repo ( restricted-repos = mapAttrs make-restricted-repo (