~aasg/haunted-blog

ref: fef67bdcac88c14b6ac6affe93e290c1a4fb6ee2 haunted-blog/channels.nix -rw-r--r-- 686 bytes
fef67bdc — Aluísio Augusto Silva Gonçalves Render post tags and relayout post lists 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
let
  bumpDate = "2020-07-08";
  repos = {
    nixpkgs = rec {
      pname = "nixpkgs-unstable";
      url = "https://github.com/NixOS/nixpkgs/archive/${rev}.tar.gz";
      rev = "4855aa62fa13052fb1a3daea68971503ab07a744";
      sha256 = "sha256-UieMyToFPe0JKdJrWddrESe5i88hdBH4/ycNjokRU58=";
    };
    aasg = rec {
      pname = "aasg-nixexprs";
      url = "https://git.sr.ht/~aasg/nixexprs/archive/${rev}.tar.gz";
      rev = "cd09ce0cd17f5875dbc7bcd47c815dbc84509173";
      sha256 = "sha256-G17/q+s0QAVlk+7Ry7Q3W+A6JmMuxDeLQ4E2K4ZFT4I=";
    };
  };
in
builtins.mapAttrs
  (_: repo: with repo; import (fetchTarball { name = "${pname}-${bumpDate}"; inherit url sha256; }))
  repos