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

21 lines
418 B
Nix
Raw Normal View History

2023-01-27 12:10:35 +00:00
self: super:
let
2023-01-27 15:17:22 +00:00
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"
];
};
2023-01-27 12:10:35 +00:00
in
2023-01-27 15:17:22 +00:00
if srcpkg.version == binpkg.version then
binpkg
2023-01-27 12:10:35 +00:00
else
2023-01-27 15:17:22 +00:00
srcpkg