stockholm/tv/5pkgs/override/iosevka-tv-1.nix

21 lines
418 B
Nix
Raw Normal View History

self: super:
let
2023-01-27 15:17:22 +00:00
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
2023-01-27 15:17:22 +00:00
if srcpkg.version == binpkg.version then
binpkg
else
2023-01-27 15:17:22 +00:00
srcpkg