summaryrefslogtreecommitdiffstats
path: root/tv/5pkgs/override/iosevka-tv-2.nix
blob: 2eecf3cff993704d33bec49cc16ea169736ac56a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
self: super:

let
  srcpkg = super.iosevka-tv-2;
  binpkg = self.fetchzip {
    inherit (srcpkg) pname version;
    stripRoot = false;
    hash = "sha256-PuIrW1ftYD5PW4du6gq1XpUM3v0potwmj+vAxJImF/A=";
    urls = [
      "https://c.krebsco.de/${srcpkg.name}.tar.gz"
      "https://ni.krebsco.de/~tv/mirrors/iosevka/${srcpkg.name}.tar.gz"
    ];
  };
in

if srcpkg.version == binpkg.version then
  binpkg

else
  srcpkg