summaryrefslogtreecommitdiffstats
path: root/pkgs/override/iosevka-tv-1.nix
blob: 880160b3e4811a643ae1f2a0a808eec57aef2855 (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-1;
  binpkg = self.fetchzip {
    inherit (srcpkg) pname version;
    stripRoot = false;
    hash = "sha256-QIuTS70vUQSvDDXjY4uI6SCcu1XT4HjvzpthvrNX4h0=";
    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