1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 14:47:06 +00:00
nixpkgs/pkgs/tools/networking/shadowfox/default.nix
Doron Behar c1f4bf78a8 shadowfox: Add ldflags
shadowfox-updater compares the version of itself with that of the latest
version released upon startup. If it doesn't know it's own version, this
comparison always falsely leads to it suggesting the user to update it
upon startup, where in fact it is updated. This is a confusing behavior
only NixOS users suffer and now it's solved.
2020-09-13 00:36:03 +03:00

32 lines
796 B
Nix

{ stdenv, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "shadowfox";
version = "2.2.0";
src = fetchFromGitHub {
owner = "SrKomodo";
repo = "shadowfox-updater";
rev = "v${version}";
sha256 = "125mw70jidbp436arhv77201jdp6mpgqa2dzmrpmk55f9bf29sg6";
};
vendorSha256 = "06ar9ivry9b01609izjbl6hqgg0cy7aqd8n2cqpyq0g7my0l0lbj";
doCheck = false;
buildFlagsArray = [
"-ldflags=-X main.tag=v${version}"
];
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;
maintainers = with maintainers; [ infinisil ];
};
}