diff options
Diffstat (limited to 'makefu/5pkgs')
88 files changed, 0 insertions, 6074 deletions
diff --git a/makefu/5pkgs/Fluffy/default.nix b/makefu/5pkgs/Fluffy/default.nix deleted file mode 100644 index b32c6cab..00000000 --- a/makefu/5pkgs/Fluffy/default.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ lib, pkgs, python3Packages, ... }: - -with python3Packages; buildPythonApplication rec { - name = "Fluffy-${version}"; - format = "other"; - version = "2.9"; - - src = pkgs.fetchFromGitHub { - owner = "fourminute"; - repo = "Fluffy"; - rev = "v${version}"; - sha256 = "1w1j7cdp0zpgwn7zi28z8dcbgnhxvllgh3rp1gkdjnpr4a6ngj8z"; - }; - - prePatch = '' - sed -e "s|/tmp|$HOME/.config/fluffy|" -i linux/fluffy.desktop - ''; - - installPhase = '' - env - install -Dm 644 linux/80-fluffy-switch.rules "$out/etc/udev/rules.d/80-fluffy-switch.rules" - install -Dm 644 linux/fluffy.desktop "$out/usr/share/applications/fluffy.desktop" - install -Dm 644 icons/16x16/fluffy.png "$out/share/icons/hicolor/16x16/apps/fluffy.png" - install -Dm 644 icons/24x24/fluffy.png "$out/share/icons/hicolor/24x24/apps/fluffy.png" - install -Dm 644 icons/32x32/fluffy.png "$out/share/icons/hicolor/32x32/apps/fluffy.png" - install -Dm 644 icons/48x48/fluffy.png "$out/share/icons/hicolor/48x48/apps/fluffy.png" - install -Dm 644 icons/64x64/fluffy.png "$out/share/icons/hicolor/64x64/apps/fluffy.png" - install -Dm 644 icons/128x128/fluffy.png "$out/share/icons/hicolor/128x128/apps/fluffy.png" - install -Dm 755 fluffy.pyw "$out/bin/fluffy" - wrapProgram "$out/bin/fluffy" --set PYTHONPATH "$PYTHONPATH" - ''; - - propagatedBuildInputs = [ - pyqt5 pyusb libusb1 configparser tkinter - ]; - - meta = { - homepage = https://github.com/fourminute/Fluffy; - description = "A feature-rich tool for installing NSPs"; - license = lib.licenses.gpl3; - }; -} diff --git a/makefu/5pkgs/PkgDecrypt/default.nix b/makefu/5pkgs/PkgDecrypt/default.nix deleted file mode 100644 index 80bcbcac..00000000 --- a/makefu/5pkgs/PkgDecrypt/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ stdenv, lib, pkgs, fetchFromGitHub, ... }: -stdenv.mkDerivation rec { - name = "PkgDecrypt-2017-12-01"; - rev = "e2f9518"; - - src = fetchFromGitHub { - owner = "St4rk"; - repo = "PkgDecrypt"; - inherit rev; - sha256 = "0dk13qamxyny0vc990s06vqddxwwc6xmikb1pkc3rnys98yda29p"; - }; - - installPhase = '' - install -m755 -D pkg_dec $out/bin/pkg_dec - install -m755 -D make_key $out/bin/make_key - ''; - - buildInputs = with pkgs;[ - zlib - ]; - - meta = { - homepage = https://github.com/St4rk/PkgDecrypt; - description = "St4rk's Vita pkg decrypter"; - license = lib.licenses.gpl2; - }; -} diff --git a/makefu/5pkgs/_4nxci/default.nix b/makefu/5pkgs/_4nxci/default.nix deleted file mode 100644 index 47c02aca..00000000 --- a/makefu/5pkgs/_4nxci/default.nix +++ /dev/null @@ -1,50 +0,0 @@ -{ stdenv, lib, fetchFromGitHub, mbedtls, python2, perl }: -let - version = "4.03"; - src = fetchFromGitHub { - owner = "The-4n"; - repo = "4NXCI"; - rev = "v${version}"; - sha256 = "0n49sqv6s8cj2dw1dbcyskfc2zr92p27f1bdd6jqfbawv0fqr1wf"; - }; - - mymbedtls = stdenv.mkDerivation { - name = "mbedtls-${version}"; - version = "2.6.1"; - doCheck = false; - inherit src; - buildInputs = [ perl ]; - phases = [ "unpackPhase" "buildPhase" "installPhase" ]; - makeFlags = [ "DESTDIR=$(out)" ]; - buildPhase = '' - cp config.mk.template config.mk - cd mbedtls - make - ''; - }; -in stdenv.mkDerivation rec { - name = "4nxci-${version}"; - - inherit src version; - buildPhase = '' - cp config.mk.template config.mk - sed -i 's#\(INCLUDE =\).*#\1${mymbedtls}/include#' Makefile - sed -i 's#\(LIBDIR =\).*#\1${mymbedtls}/lib#' Makefile - make 4nxci - ''; - - installPhase = '' - install -m755 -D 4nxci $out/bin/4nxci - ''; - - #preInstall = '' - # mkdir -p $out/bin - #''; - - buildInputs = [ mymbedtls ]; - - meta = { - description = "convert xci to nsp"; - license = lib.licenses.isc; - }; -} diff --git a/makefu/5pkgs/acdcli/default.nix b/makefu/5pkgs/acdcli/default.nix deleted file mode 100644 index 13b19e48..00000000 --- a/makefu/5pkgs/acdcli/default.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ lib, pkgs, python3Packages, fetchurl, ... }: - -with python3Packages; buildPythonPackage rec { - name = "acdcli-${version}"; - version = "0.3.2"; - propagatedBuildInputs = [ - dateutil colorama fusepy appdirs requests requests_toolbelt six - ]; - src = fetchurl { - url = "mirror://pypi/a/acdcli/${name}.tar.gz"; - sha256 = "1ak9xxpyb7n6iyalf2082jpimklakm0fgm7vsv7qcm8wy6vlq2cw"; - }; - doCheck = false; # ImportError: Failed to import test module: tests - - # acd_cli gets dumped in bin and gets overwritten by fixupPhase - postFixup = '' - mv $out/bin/.acd_cli.py-wrapped $out/bin/acd_cli.py - ''; - meta = { - description = "communicate with amazon drive"; - }; -} diff --git a/makefu/5pkgs/airsensor-py/default.nix b/makefu/5pkgs/airsensor-py/default.nix deleted file mode 100644 index 4eae26c0..00000000 --- a/makefu/5pkgs/airsensor-py/default.nix +++ /dev/null @@ -1,17 +0,0 @@ -{ pkgs, fetchFromGitHub, ... }: -with pkgs.python3Packages; -buildPythonApplication rec { - name = "airsensor-py-${version}"; - version = "2017-12-05"; - propagatedBuildInputs = [ - pyusb - click - ]; - - src = fetchFromGitHub { - owner = "makefu"; - repo = "airsensor-py"; - rev = "7ac5f185dc848fca1b556e4c0396dd73f6a93995"; - sha256 = "0387b025y8kb0zml7916p70hmzc3y18kqh46b9xv5qayljxymq2w"; - }; -} diff --git a/makefu/5pkgs/ampel/default.nix b/makefu/5pkgs/ampel/default.nix deleted file mode 100644 index fb722a52..00000000 --- a/makefu/5pkgs/ampel/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib, pkgs, fetchFromGitHub, ... }: - -with pkgs.python3Packages;buildPythonPackage rec { - name = "ampel-${version}"; - version = "0.2.5"; - - propagatedBuildInputs = [ - docopt - paho-mqtt - requests - pytz - influxdb - httplib2 - google_api_python_client - ]; - - src = pkgs.fetchgit { - url = "http://cgit.euer.krebsco.de/ampel"; - rev = "ce239876820699f02054e71b4fd0950509833379"; - sha256 = "1ja32lr04lwq4shi49kppa1zzjw0zlqaqy71pr5sbajgp4zj7kh8"; - }; - meta = { - homepage = http://cgit.euer.krebsco.de/ampel; - description = "change colors of rgb cubes"; - license = lib.licenses.asl20; - }; -} diff --git a/makefu/5pkgs/awesomecfg/default.nix b/makefu/5pkgs/awesomecfg/default.nix deleted file mode 100644 index 8552634f..00000000 --- a/makefu/5pkgs/awesomecfg/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ pkgs -, lib -, alsaUtils -, xbacklight -, networkmanagerapplet -, blueman -, clipit -, flameshot -, chapter-marker ? false -, modkey ? "Mod4" -, locker? "${pkgs.xlock}/bin/xlock -mode blank" -, ... }: - -{ - # replace: @alsaUtils@ @xlockmore@ @xbacklight@ @modkey@ @chapter-marker@ - full = lib.makeOverridable pkgs.substituteAll { - name = "awesome_full_config"; - inherit alsaUtils locker xbacklight modkey networkmanagerapplet blueman clipit flameshot ; - isExecutable = false; - src = ./full.cfg; - }; - - kiosk = lib.makeOverridable pkgs.substituteAll { - name = "awesome_kiosk_config"; - inherit alsaUtils locker xbacklight modkey; - isExecutable = false; - src = ./kiosk.lua; - }; -} diff --git a/makefu/5pkgs/awesomecfg/full.cfg b/makefu/5pkgs/awesomecfg/full.cfg deleted file mode 100644 index a86d3ac1..00000000 --- a/makefu/5pkgs/awesomecfg/full.cfg +++ /dev/null @@ -1,577 +0,0 @@ --- Standard awesome library -local gears = require("gears") -local awful = require("awful") -local vicious = require("vicious") -awful.rules = require("awful.rules") -require("awful.autofocus") --- Widget and layout library -local wibox = require("wibox") --- Theme handling library -local beautiful = require("beautiful") --- Notification library -local naughty = require("naughty") -local menubar = require("menubar") - - - --- {{{ Error handling --- Check if awesome encountered an error during startup and fell back to --- another config (This code will only ever execute for the fallback config) -if awesome.startup_errors then - naughty.notify({ preset = naughty.config.presets.critical, - title = "Oops, there were errors during startup!", - text = awesome.startup_errors }) -end - --- Handle runtime errors after startup -do - local in_error = false - awesome.connect_signal("debug::error", function (err) - -- Make sure we don't go into an endless error loop - if in_error then return end - in_error = true - - naughty.notify({ preset = naughty.config.presets.critical, - title = "Oops, an error happened!", - text = err }) - in_error = false - end) -end --- }}} - --- {{{ Mails widget type -local function worker(format,warg) - local ncount = 0 - for line in io.popen("ls "..warg..'/new'):lines() do - ncount = ncount +1 - end - local count = 2 - --for line in io.popen("ls "..warg..'/new'):lines() do - -- count = count +1 - --end - return {ncount,count} -end - -vicious_mails = setmetatable({}, { __call = function(_, ...) return worker(...) end }) -mailwidget = wibox.widget.textbox() - -local function only_new (widget,args) - if args[1] > 0 then - return string.format("%s new",args[1]) - else - return "" - end -end - -vicious.register(mailwidget, vicious_mails,only_new ,60,"~/Mail/localhost") - ---mdirwidget = wibox.widget.textbox() ---vicious.register(mdirwidget, vicious.widgets.mdir, ) - -cpuwidget = wibox.widget.graph() --- Graph properties -cpuwidget:set_width(50) -cpuwidget:set_background_color("#494B4F") -cpuwidget:set_color({ type = "linear", from = { 0, 0 }, to = { 10,0 }, stops = { {0, "#FF5656"}, {0.5, "#88A175"}, - {1, "#AECF96" }}}) -vicious.register(cpuwidget, vicious.widgets.cpu, "$1") - --- Register widget -batwidget = wibox.widget.textbox() -vicious.register(batwidget, vicious.widgets.bat, "$2%", 61, "BAT0") - --- {{{ Variable definitions --- Themes define colours, icons, and wallpapers - --- Find the default theme - -beautiful.init(awful.util.get_themes_dir() .. "default/theme.lua") -client.connect_signal("focus", function(c) c.border_color = beautiful.border_focus end) -client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end) - --- This is used later as the default terminal and editor to run. -terminal = "urxvtc" -editor = os.getenv("EDITOR") or "vim" -editor_cmd = terminal .. " -e " .. editor -browser = "firefox" - --- Default modkey. --- Usually, Mod4 is the key with a logo between Control and Alt. --- If you do not like this or do not have such a key, --- I suggest you to remap Mod4 to another key using xmodmap or other tools. --- However, you can use another modifier like Mod1, but it may interact with others. -modkey = "@modkey@" --- modkey = "Mod4" - --- Table of layouts to cover with awful.layout.inc, order matters. -awful.layout.layouts = -{ - awful.layout.suit.tile, --- awful.layout.suit.tile.left, - awful.layout.suit.tile.bottom, - awful.layout.suit.floating, --- awful.layout.suit.tile.top, - awful.layout.suit.fair, --- awful.layout.suit.fair.horizontal, --- awful.layout.suit.spiral, --- awful.layout.suit.spiral.dwindle, - awful.layout.suit.max, - awful.layout.suit.max.fullscreen, - awful.layout.suit.magnifier, - awful.layout.suit.corner.nw -} --- }}} --- {{{ Helper Functions -local function client_menu_toggle_fn() - local instance = nil - - return function () - if instance and instance.wibox.visible then - instance:hide() - instance = nil - else - instance = awful.menu.clients({ theme = { width = 250 } }) - end - end -end --- }}} - --- {{{ Wallpaper -if beautiful.wallpaper then - for s = 1, screen.count() do - gears.wallpaper.maximized(beautiful.wallpaper, s, true) - end -end --- }}} - --- {{{ Tags --- Define a tag table which hold all screen tags. -tags = {} -for s = 1, screen.count() do - -- Each screen has its own tag table. -end --- }}} - --- {{{ Menu |