2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
2018-06-27 21:57:14 +00:00
|
|
|
|
2019-04-22 04:06:31 +00:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "shadowfox";
|
2019-06-03 01:01:31 +00:00
|
|
|
version = "2.2.0";
|
2018-06-27 21:57:14 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "SrKomodo";
|
|
|
|
repo = "shadowfox-updater";
|
|
|
|
rev = "v${version}";
|
2019-06-03 01:01:31 +00:00
|
|
|
sha256 = "125mw70jidbp436arhv77201jdp6mpgqa2dzmrpmk55f9bf29sg6";
|
2018-06-27 21:57:14 +00:00
|
|
|
};
|
|
|
|
|
2022-10-24 23:31:29 +00:00
|
|
|
vendorSha256 = null; #vendorSha256 = "";
|
2020-03-21 11:03:00 +00:00
|
|
|
|
2020-08-04 00:26:27 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-08-26 06:45:51 +00:00
|
|
|
ldflags = [
|
2022-07-13 12:02:57 +00:00
|
|
|
"-s"
|
|
|
|
"-w"
|
2021-08-26 06:45:51 +00:00
|
|
|
"-X main.tag=v${version}"
|
2020-09-12 21:36:03 +00:00
|
|
|
];
|
2018-06-27 21:57:14 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2022-07-13 12:02:57 +00:00
|
|
|
description = "Universal dark theme for Firefox while adhering to the modern design principles set by Mozilla";
|
2018-06-27 21:57:14 +00:00
|
|
|
homepage = "https://overdodactyl.github.io/ShadowFox/";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ infinisil ];
|
2022-04-01 19:34:55 +00:00
|
|
|
mainProgram = "shadowfox-updater";
|
2022-10-24 23:31:29 +00:00
|
|
|
broken = true; # vendor isn't reproducible with go > 1.17: nix-build -A $name.go-modules --check
|
2018-06-27 21:57:14 +00:00
|
|
|
};
|
2020-07-31 03:58:04 +00:00
|
|
|
}
|