summary refs log tree commit diff
path: root/pkgs/tools/networking/shadowfox
diff options
context:
space:
mode:
authorSilvan Mosberger <infinisil@icloud.com>2018-06-27 23:57:14 +0200
committerxeji <36407913+xeji@users.noreply.github.com>2018-06-27 23:57:14 +0200
commited533ba946e452d8db4b85d8a15bea9472f022a0 (patch)
treeb87fe155c4969fa2b5fe99a33b9a71d88ba2682c /pkgs/tools/networking/shadowfox
parent98c1ad879a34954944972ac7465343d325f7156b (diff)
downloadnixpkgs-ed533ba946e452d8db4b85d8a15bea9472f022a0.tar
nixpkgs-ed533ba946e452d8db4b85d8a15bea9472f022a0.tar.gz
nixpkgs-ed533ba946e452d8db4b85d8a15bea9472f022a0.tar.bz2
nixpkgs-ed533ba946e452d8db4b85d8a15bea9472f022a0.tar.lz
nixpkgs-ed533ba946e452d8db4b85d8a15bea9472f022a0.tar.xz
nixpkgs-ed533ba946e452d8db4b85d8a15bea9472f022a0.tar.zst
nixpkgs-ed533ba946e452d8db4b85d8a15bea9472f022a0.zip
shadowfox: init at 1.5.2 (#42313)
Diffstat (limited to 'pkgs/tools/networking/shadowfox')
-rw-r--r--pkgs/tools/networking/shadowfox/default.nix29
-rw-r--r--pkgs/tools/networking/shadowfox/deps.nix75
2 files changed, 104 insertions, 0 deletions
diff --git a/pkgs/tools/networking/shadowfox/default.nix b/pkgs/tools/networking/shadowfox/default.nix
new file mode 100644
index 00000000000..eb2fe70cf4b
--- /dev/null
+++ b/pkgs/tools/networking/shadowfox/default.nix
@@ -0,0 +1,29 @@
+{ stdenv, fetchFromGitHub, buildGoPackage }:
+
+buildGoPackage rec {
+  name = "shadowfox-${version}";
+  version = "1.5.2";
+
+  src = fetchFromGitHub {
+    owner = "SrKomodo";
+    repo = "shadowfox-updater";
+    rev = "v${version}";
+    sha256 = "07695hba72q722d18q75pwa45azg9jibj6vqnhwb7mnwz2i7hkkc";
+  };
+
+  goPackagePath = "github.com/SrKomodo/shadowfox-updater";
+  goDeps = ./deps.nix;
+
+  buildFlags = "--tags release";
+
+  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 ];
+  };
+}
diff --git a/pkgs/tools/networking/shadowfox/deps.nix b/pkgs/tools/networking/shadowfox/deps.nix
new file mode 100644
index 00000000000..f3a824af686
--- /dev/null
+++ b/pkgs/tools/networking/shadowfox/deps.nix
@@ -0,0 +1,75 @@
+# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
+[
+  {
+    goPackagePath = "github.com/gdamore/encoding";
+    fetch = {
+      type = "git";
+      url = "https://github.com/gdamore/encoding";
+      rev = "b23993cbb6353f0e6aa98d0ee318a34728f628b9";
+      sha256 = "0d7irqpx2fa9vkxgkhf04yiwazsm10fxh0yk86x5crflhph5fv8a";
+    };
+  }
+  {
+    goPackagePath = "github.com/gdamore/tcell";
+    fetch = {
+      type = "git";
+      url = "https://github.com/gdamore/tcell";
+      rev = "b3cebc399d6f98536af845ed8a5144ab586f6759";
+      sha256 = "1kbf08msh4bjbdwnj1cjmddl5jfiarswfim3q085x77bcb43l0qa";
+    };
+  }
+  {
+    goPackagePath = "github.com/go-ini/ini";
+    fetch = {
+      type = "git";
+      url = "https://github.com/go-ini/ini";
+      rev = "cec2bdc49009247305a260b082a18e802d0fe292";
+      sha256 = "0d4ab6v83w5ya4rnnaymasmza4p2jl0lqf4xcgsmsk6lnnrwm5s8";
+    };
+  }
+  {
+    goPackagePath = "github.com/lucasb-eyer/go-colorful";
+    fetch = {
+      type = "git";
+      url = "https://github.com/lucasb-eyer/go-colorful";
+      rev = "d9cec903b20cbeda6062366e460c2c1bdc717e4d";
+      sha256 = "1j8nxi71v0qplfx6alfdx8rm2dxrcfk2k27gjrh2aksa322cmryb";
+    };
+  }
+  {
+    goPackagePath = "github.com/mattn/go-runewidth";
+    fetch = {
+      type = "git";
+      url = "https://github.com/mattn/go-runewidth";
+      rev = "ce7b0b5c7b45a81508558cd1dba6bb1e4ddb51bb";
+      sha256 = "0lc39b6xrxv7h3v3y1kgz49cgi5qxwlygs715aam6ba35m48yi7g";
+    };
+  }
+  {
+    goPackagePath = "github.com/mitchellh/go-homedir";
+    fetch = {
+      type = "git";
+      url = "https://github.com/mitchellh/go-homedir";
+      rev = "3864e76763d94a6df2f9960b16a20a33da9f9a66";
+      sha256 = "1n8vya16l60i5jms43yb8fzdgwvqa2q926p5wkg3lbrk8pxy1nv0";
+    };
+  }
+  {
+    goPackagePath = "github.com/rivo/tview";
+    fetch = {
+      type = "git";
+      url = "https://github.com/rivo/tview";
+      rev = "306abd9cb98c97417ab6c58aa0400b2e5daac88b";
+      sha256 = "00q8hymxa36a178hbzylsw3ald6a7gyg8adnki3flyv1jg3dnahx";
+    };
+  }
+  {
+    goPackagePath = "golang.org/x/text";
+    fetch = {
+      type = "git";
+      url = "https://go.googlesource.com/text";
+      rev = "5cec4b58c438bd98288aeb248bab2c1840713d21";
+      sha256 = "19iyz2nppicvwap5lv796sbzd82glk2jn4yn5w6z6zymwnykfzds";
+    };
+  }
+]