2019-04-22 05:06:31 +01:00
|
|
|
{ stdenv, fetchFromGitHub, buildGoModule }:
|
2018-06-27 22:57:14 +01:00
|
|
|
|
2019-04-22 05:06:31 +01:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "shadowfox";
|
2019-05-23 01:09:29 +01:00
|
|
|
version = "2.0.1";
|
2018-06-27 22:57:14 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "SrKomodo";
|
|
|
|
repo = "shadowfox-updater";
|
|
|
|
rev = "v${version}";
|
2019-05-23 01:09:29 +01:00
|
|
|
sha256 = "0j8ljnx281a5nwd3zpw7b25ndsxc26b52glk2hqhm5fh08f9w0d8";
|
2018-06-27 22:57:14 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
goPackagePath = "github.com/SrKomodo/shadowfox-updater";
|
2019-04-22 05:06:31 +01:00
|
|
|
|
2019-05-23 01:09:29 +01:00
|
|
|
modSha256 = "0anxrff09r5aw3a11iph0gigmcbmpfczm8him6ly57ywfzc5c850";
|
2018-06-27 22:57:14 +01:00
|
|
|
|
|
|
|
buildFlags = "--tags release";
|
|
|
|
|
2019-05-24 14:46:00 +01:00
|
|
|
postInstall = ''
|
|
|
|
# Contains compiler package only used by projects CI, and buildGoModule
|
|
|
|
# installs all binaries by default. So we remove this again.
|
|
|
|
rm $out/bin/compiler
|
|
|
|
'';
|
|
|
|
|
2018-06-27 22:57:14 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = ''
|
|
|
|
This project aims at creating a universal dark theme for Firefox while
|
|
|
|
adhering to the modern design principles set by Mozilla.
|
|
|
|
'';
|
|
|
|
homepage = "https://overdodactyl.github.io/ShadowFox/";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ infinisil ];
|
|
|
|
};
|
|
|
|
}
|