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