2018-02-23 14:41:11 +01:00
|
|
|
# This overlay provides a set of customized pkgs.
|
2018-02-20 12:20:44 +01:00
|
|
|
|
|
|
|
self: super:
|
|
|
|
|
2019-09-25 11:33:34 +02:00
|
|
|
let
|
|
|
|
iosevkaTree = import (builtins.fetchTarball https://github.com/NixOS/nixpkgs/archive/dd2f026780399cf11c47fcf6085145b25b14307e.tar.gz) {};
|
2019-09-26 07:55:10 +02:00
|
|
|
mopidyTree = import (builtins.fetchTarball https://github.com/NixOS/nixpkgs/archive/d68db15912f6ff0f0082ed3825efae5098c77905.tar.gz) {};
|
2019-09-25 11:33:34 +02:00
|
|
|
in
|
2018-02-20 12:20:44 +01:00
|
|
|
{
|
2019-09-26 07:55:10 +02:00
|
|
|
# Picked from 2019-09-26 tree
|
|
|
|
# Delete this when it lands in main channel
|
|
|
|
mopidy = mopidyTree.mopidy;
|
2019-09-25 10:10:54 +02:00
|
|
|
|
2019-09-26 07:55:10 +02:00
|
|
|
# Picked from 2019-09-25 tree
|
|
|
|
# replace iosevkaTree by super once it's in the main channel
|
2019-09-25 11:33:34 +02:00
|
|
|
iosevka-hskl = iosevkaTree.iosevka.override {
|
2019-09-25 10:10:54 +02:00
|
|
|
privateBuildPlan = {
|
|
|
|
family = "Iosevka Samae";
|
|
|
|
design = [
|
|
|
|
"ss08" # Use Pragmata Pro Style
|
|
|
|
"term" # Disable ligature/ligation
|
|
|
|
];
|
|
|
|
slants = {
|
|
|
|
upright = "normal";
|
|
|
|
italic = "italic";
|
|
|
|
oblique = "oblique";
|
|
|
|
};
|
2019-04-30 17:02:06 +02:00
|
|
|
};
|
2019-09-25 10:10:54 +02:00
|
|
|
set = "Samae";
|
|
|
|
};
|
2019-04-30 17:02:06 +02:00
|
|
|
|
2019-09-26 07:55:10 +02:00
|
|
|
qutebrowserWE = super.qutebrowser.override { withWebEngineDefault = true; };
|
|
|
|
|
2019-07-18 21:07:39 +02:00
|
|
|
wineNoGS = super.wineStaging.override { gstreamerSupport = false; };
|
|
|
|
|
2018-02-20 12:27:46 +01:00
|
|
|
vim-samae = super.callPackage ./vim {};
|
2018-02-20 12:20:44 +01:00
|
|
|
|
2019-05-14 20:54:45 +02:00
|
|
|
reaper-samae = super.callPackage ./reaper {};
|
|
|
|
|
2018-02-23 14:41:11 +01:00
|
|
|
# Bug fixes:
|
2019-04-30 17:02:29 +02:00
|
|
|
# VCVRack has a bug when used with Xmonad that makes the UI
|
|
|
|
# crash almost immediately There's a workaround documented here
|
|
|
|
# (https://github.com/VCVRack/Rack/issues/478#issuecomment-456174702) and it
|
|
|
|
# requires applying a patch on the source before building.
|
|
|
|
vcv-rack-xmonad = super.callPackage ./vcv-rack {};
|
2018-04-20 20:26:44 +02:00
|
|
|
|
2018-04-20 20:35:19 +02:00
|
|
|
scientifica-font = super.callPackage ./scientifica-font {};
|
2018-06-24 18:19:07 +02:00
|
|
|
curie-font = super.callPackage ./curie-font {};
|
2019-07-13 10:05:12 +02:00
|
|
|
victor-mono = super.callPackage ./victor-mono {};
|
2018-04-20 20:26:44 +02:00
|
|
|
|
2018-02-23 14:41:11 +01:00
|
|
|
ripmime = super.ripmime.override {
|
|
|
|
stdenv = super.overrideCC super.stdenv super.gcc6;
|
|
|
|
};
|
2019-04-30 17:02:06 +02:00
|
|
|
|
2018-06-01 09:21:56 +02:00
|
|
|
# Originally from Mats Rauhala ®2018
|
|
|
|
copy = super.writeScriptBin "copy" ''
|
|
|
|
function clean() {
|
|
|
|
sleep 10
|
2019-06-03 08:11:50 +02:00
|
|
|
${super.libnotify}/bin/notify-send -u low 'Clipboard cleaned'
|
2018-06-01 09:21:56 +02:00
|
|
|
${super.xclip}/bin/xclip -sel clipboard -i /dev/null
|
|
|
|
}
|
|
|
|
|
|
|
|
${super.xclip}/bin/xclip -sel clipboard < /dev/stdin
|
2019-06-03 08:11:50 +02:00
|
|
|
${super.libnotify}/bin/notify-send -u low -t 10000 'Clipboard set'
|
2018-06-01 09:21:56 +02:00
|
|
|
|
|
|
|
clean &
|
|
|
|
'';
|
2018-02-20 12:20:44 +01:00
|
|
|
}
|
|
|
|
|