~aasg/haunted-blog

ref: ddc39469a1b6ea301e20815b2cedc4491472c9df haunted-blog/channels.nix -rw-r--r-- 803 bytes
ddc39469 — Aluísio Augusto Silva Gonçalves Apply SPDX copyright and license headers in compliance with REUSE 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# SPDX-FileCopyrightText: 2020 Aluísio Augusto Silva Gonçalves <https://aasg.name>
# SPDX-License-Identifier: MIT

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