1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 05:00:16 +00:00
nixpkgs/pkgs/tools/networking/shadowfox/default.nix

37 lines
1,023 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, buildGoModule }:
2018-06-27 22:57:14 +01:00
buildGoModule rec {
pname = "shadowfox";
version = "2.0.1";
2018-06-27 22:57:14 +01:00
src = fetchFromGitHub {
owner = "SrKomodo";
repo = "shadowfox-updater";
rev = "v${version}";
sha256 = "0j8ljnx281a5nwd3zpw7b25ndsxc26b52glk2hqhm5fh08f9w0d8";
2018-06-27 22:57:14 +01:00
};
goPackagePath = "github.com/SrKomodo/shadowfox-updater";
modSha256 = "0anxrff09r5aw3a11iph0gigmcbmpfczm8him6ly57ywfzc5c850";
2018-06-27 22:57:14 +01:00
buildFlags = "--tags release";
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 ];
};
}