Merge branch 'master' into add_vim_plugins
This commit is contained in:
@@ -9,11 +9,11 @@ let
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "cups-filters-${version}";
|
||||
version = "1.16.0";
|
||||
version = "1.20.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://openprinting.org/download/cups-filters/${name}.tar.xz";
|
||||
sha256 = "1kcndzpbbcaxafnz1wa6acy3p3r5likfqmf057i5q0q6i176lz5k";
|
||||
sha256 = "0g6npicm1cwmxqi6ymfvf9wkplp4z2rzvjjl9v4yfvqdjq85gxnp";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig makeWrapper ];
|
||||
|
||||
@@ -78,12 +78,12 @@ pythonPackages.buildPythonApplication {
|
||||
prePatch = ''
|
||||
# HPLIP hardcodes absolute paths everywhere. Nuke from orbit.
|
||||
find . -type f -exec sed -i \
|
||||
-e s,/etc/hp,$out/etc/hp, \
|
||||
-e s,/etc/sane.d,$out/etc/sane.d, \
|
||||
-e s,/usr/include/libusb-1.0,${libusb1.dev}/include/libusb-1.0, \
|
||||
-e s,/usr/share/hal/fdi/preprobe/10osvendor,$out/share/hal/fdi/preprobe/10osvendor, \
|
||||
-e s,/usr/lib/systemd/system,$out/lib/systemd/system, \
|
||||
-e s,/var/lib/hp,$out/var/lib/hp, \
|
||||
-e s,/etc/hp,$out/etc/hp,g \
|
||||
-e s,/etc/sane.d,$out/etc/sane.d,g \
|
||||
-e s,/usr/include/libusb-1.0,${libusb1.dev}/include/libusb-1.0,g \
|
||||
-e s,/usr/share/hal/fdi/preprobe/10osvendor,$out/share/hal/fdi/preprobe/10osvendor,g \
|
||||
-e s,/usr/lib/systemd/system,$out/lib/systemd/system,g \
|
||||
-e s,/var/lib/hp,$out/var/lib/hp,g \
|
||||
{} +
|
||||
'';
|
||||
|
||||
@@ -96,6 +96,8 @@ pythonPackages.buildPythonApplication {
|
||||
--with-systraydir=$out/xdg/autostart
|
||||
--with-mimedir=$out/etc/cups
|
||||
--enable-policykit
|
||||
--disable-qt4
|
||||
${stdenv.lib.optionals withQt5 "--enable-qt5"}
|
||||
"
|
||||
|
||||
export makeFlags="
|
||||
@@ -140,9 +142,6 @@ pythonPackages.buildPythonApplication {
|
||||
mkdir -p $out/var/lib/hp
|
||||
cp ${hplipState} $out/var/lib/hp/hplip.state
|
||||
|
||||
mkdir -p $out/etc/sane.d/dll.d
|
||||
mv $out/etc/sane.d/dll.conf $out/etc/sane.d/dll.d/hpaio.conf
|
||||
|
||||
rm $out/etc/udev/rules.d/56-hpmud.rules
|
||||
'';
|
||||
|
||||
|
||||
@@ -1,16 +1,20 @@
|
||||
{ stdenv, fetchurl, libSM, libX11, SDL }:
|
||||
{ stdenv, fetchurl, libSM, libX11, libICE, SDL, alsaLib, gcc-unwrapped, libXext }:
|
||||
|
||||
with stdenv.lib;
|
||||
stdenv.mkDerivation rec{
|
||||
name = "atari++-${version}";
|
||||
version = "1.73";
|
||||
version = "1.81";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.xl-project.com/download/atari++_${version}.tar.gz";
|
||||
sha256 = "1y5kwh08717jsa5agxrvxnggnwxq36irrid9rzfhca1nnvp9a45l";
|
||||
sha256 = "1sv268dsjddirhx47zaqgqiahy6zjxj7xaiiksd1gjvs4lvf3cdg";
|
||||
};
|
||||
|
||||
buildInputs = [ libSM libX11 SDL ];
|
||||
buildInputs = [ libSM libX11 SDL libICE alsaLib gcc-unwrapped libXext ];
|
||||
|
||||
postFixup = ''
|
||||
patchelf --set-rpath ${stdenv.lib.makeLibraryPath buildInputs} "$out/bin/atari++"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://www.xl-project.com/;
|
||||
|
||||
@@ -56,9 +56,12 @@ let wine-build = build: release:
|
||||
});
|
||||
|
||||
in if wineRelease == "staging" then
|
||||
callPackage ./staging.nix {
|
||||
inherit libtxc_dxtn_Name;
|
||||
wineUnstable = wine-build wineBuild "unstable";
|
||||
}
|
||||
let wineUnstable = wine-build wineBuild "unstable"; in
|
||||
# wine staging is not yet at 3.0, using unstable
|
||||
# FIXME update winestaging sources
|
||||
wineUnstable
|
||||
# callPackage ./staging.nix {
|
||||
# inherit libtxc_dxtn_Name wineUnstable;
|
||||
# }
|
||||
else
|
||||
wine-build wineBuild wineRelease
|
||||
|
||||
@@ -39,14 +39,17 @@ in rec {
|
||||
|
||||
unstable = fetchurl rec {
|
||||
# NOTE: Don't forget to change the SHA256 for staging as well.
|
||||
version = "2.21";
|
||||
url = "https://dl.winehq.org/wine/source/2.x/wine-${version}.tar.xz";
|
||||
sha256 = "1vxbnikdpsmca3nx064mqrm83xpjsfshy25mdfxmyg5vrzl09yms";
|
||||
version = "3.0";
|
||||
url = "https://dl.winehq.org/wine/source/3.0/wine-${version}.tar.xz";
|
||||
sha256 = "1v7vq9iinkscbq6wg85fb0d2137660fg2nk5iabxkl2wr850asil";
|
||||
inherit (stable) mono gecko32 gecko64;
|
||||
};
|
||||
|
||||
staging = fetchFromGitHub rec {
|
||||
# https://github.com/wine-compholio/wine-staging/releases
|
||||
inherit (unstable) version;
|
||||
# FIXME update winestaging sources, when 3.0 is released
|
||||
# FIXME then revert the staging derivation in ./default.nix
|
||||
sha256 = "1qznp4kgss4mhk1vvr91jmszsi47xg312r64l76jkgwijhypmvb7";
|
||||
owner = "wine-compholio";
|
||||
repo = "wine-staging";
|
||||
@@ -54,6 +57,7 @@ in rec {
|
||||
};
|
||||
|
||||
winetricks = fetchFromGitHub rec {
|
||||
# https://github.com/Winetricks/winetricks/releases
|
||||
version = "20171222";
|
||||
sha256 = "04risg44kqq8z9nsflw7m7dqykw2aii8m8j495z6fgb7p0pi8ny9";
|
||||
owner = "Winetricks";
|
||||
|
||||
@@ -79,7 +79,7 @@ mkDerivation {
|
||||
mkdir -p "$out/dev-envs" "$out/nix-support" "$out/bin"
|
||||
s="$out/nix-support/setup-new-modified"
|
||||
# shut some warning up.., do not use set -e
|
||||
sed -e 's@set -e@@' \
|
||||
sed -e 's@set -eu@@' \
|
||||
-e 's@assertEnvExists\s\+NIX_STORE@:@' \
|
||||
-e 's@trap.*@@' \
|
||||
-e '1i initialPath="${toString initialPath}"' \
|
||||
|
||||
@@ -5,13 +5,13 @@
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "electricsheep";
|
||||
version = "2.7b33-2017-02-04";
|
||||
version = "2.7b33-2017-10-20";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "scottdraves";
|
||||
repo = pname;
|
||||
rev = "12420cd40dfad8c32fb70b88f3d680d84f795c63";
|
||||
sha256 = "1zqry25h6p0y0rg2h8xxda007hx1xdvsgzmjg13xkc8l4zsp5wah";
|
||||
rev = "c02c19b9364733fc73826e105fc983a89a8b4f40";
|
||||
sha256 = "1z49l53j1lhk7ahdy96lm9r0pklwpf2i5s6y2l2rn6l4z8dxkjmk";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "greybird";
|
||||
version = "3.22.5";
|
||||
version = "3.22.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "shimmerproject";
|
||||
repo = "${pname}";
|
||||
rev = "v${version}";
|
||||
sha256 = "0l107q9fcbgp73r4p4fmyy3a7pmc4mi4km5hgp67fm2a4dna7rkd";
|
||||
sha256 = "16rifkyy8l4v03rx85j7m6rfdal99l1xdmghysh95r6lx4y6r01i";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook sass glib libxml2 gdk_pixbuf librsvg ];
|
||||
|
||||
@@ -858,11 +858,11 @@ rec {
|
||||
};
|
||||
|
||||
vim-elixir = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "vim-elixir-2017-10-20";
|
||||
name = "vim-elixir-2018-02-01";
|
||||
src = fetchgit {
|
||||
url = "https://github.com/elixir-lang/vim-elixir";
|
||||
rev = "3066d5fb5e1c694e607b2bb5d8277266ca524262";
|
||||
sha256 = "1j5sic3rssh2kaj73lv4m5sck3irn1jzgkpdr5qw7qi0gyfgpg81";
|
||||
rev = "8ca41c1f02208dd5ca68c7bcb6c71b3b92f46af6";
|
||||
sha256 = "0dp9cqflbwc3h1hzgn9fyaxhcn6q9bclgfy9kkgywp8zk5kwzb7p";
|
||||
};
|
||||
dependencies = [];
|
||||
|
||||
@@ -2391,6 +2391,17 @@ rec {
|
||||
buildInputs = [ python ];
|
||||
};
|
||||
|
||||
targets-vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "targets-vim-2017-12-03";
|
||||
src = fetchgit {
|
||||
url = "https://github.com/wellle/targets.vim";
|
||||
rev = "6f809397526797f8f419a5d2b86d90e5aff68e66";
|
||||
sha256 = "0djjm7b41kgrkz447br7qi3w96ayz9lyxd164gyp082qqxxpz63q";
|
||||
};
|
||||
dependencies = [];
|
||||
|
||||
};
|
||||
|
||||
command-t = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "command-t-2017-11-16";
|
||||
src = fetchgit {
|
||||
|
||||
@@ -196,6 +196,7 @@
|
||||
"github:vim-scripts/wombat256.vim"
|
||||
"github:w0rp/ale"
|
||||
"github:wakatime/vim-wakatime"
|
||||
"github:wellle/targets.vim"
|
||||
"github:will133/vim-dirdiff"
|
||||
"github:wincent/command-t"
|
||||
"github:xolox/vim-easytags"
|
||||
|
||||
@@ -325,11 +325,14 @@ rec {
|
||||
|
||||
# add a customize option to a vim derivation
|
||||
makeCustomizable = vim: vim // {
|
||||
customize = {name, vimrcConfig}: vimWithRC {
|
||||
customize = { name, vimrcConfig }: vimWithRC {
|
||||
vimExecutable = "${vim}/bin/vim";
|
||||
inherit name;
|
||||
vimrcFile = vimrcFile vimrcConfig;
|
||||
};
|
||||
|
||||
override = f: makeCustomizable (vim.override f);
|
||||
overrideAttrs = f: makeCustomizable (vim.overrideAttrs f);
|
||||
};
|
||||
|
||||
pluginnames2Nix = {name, namefiles} : vim_configurable.customize {
|
||||
|
||||
Reference in New Issue
Block a user