mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
Merge branch 'master' into staging
This commit is contained in:
commit
5b296a1470
@ -240,7 +240,7 @@
|
||||
mathnerd314 = "Mathnerd314 <mathnerd314.gph+hs@gmail.com>";
|
||||
matthiasbeyer = "Matthias Beyer <mail@beyermatthias.de>";
|
||||
maurer = "Matthew Maurer <matthew.r.maurer+nix@gmail.com>";
|
||||
mbakke = "Marius Bakke <ymse@tuta.io>";
|
||||
mbakke = "Marius Bakke <mbakke@fastmail.com>";
|
||||
matthewbauer = "Matthew Bauer <mjbauer95@gmail.com>";
|
||||
mbe = "Brandon Edens <brandonedens@gmail.com>";
|
||||
mboes = "Mathieu Boespflug <mboes@tweag.net>";
|
||||
@ -248,6 +248,7 @@
|
||||
meditans = "Carlo Nucera <meditans@gmail.com>";
|
||||
meisternu = "Matt Miemiec <meister@krutt.org>";
|
||||
michaelpj = "Michael Peyton Jones <michaelpj@gmail.com>";
|
||||
michalrus = "Michal Rus <m@michalrus.com>";
|
||||
michelk = "Michel Kuhlmann <michel@kuhlmanns.info>";
|
||||
mimadrid = "Miguel Madrid <mimadrid@ucm.es>";
|
||||
mingchuan = "Ming Chuan <ming@culpring.com>";
|
||||
|
@ -28,7 +28,7 @@ with lib;
|
||||
description = "CrashPlan Backup Engine";
|
||||
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
after = [ "network.target" ];
|
||||
after = [ "network.target" "local-fs.target" ];
|
||||
|
||||
preStart = ''
|
||||
ensureDir() {
|
||||
|
@ -75,9 +75,10 @@ in
|
||||
boot.kernelModules = [ "autofs4" ];
|
||||
|
||||
systemd.services.autofs =
|
||||
{ description = "Filesystem automounter";
|
||||
{ description = "Automounts filesystems on demand";
|
||||
after = [ "network.target" "ypbind.service" "sssd.service" "network-online.target" ];
|
||||
wants = [ "network-online.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
after = [ "network.target" ];
|
||||
|
||||
preStart = ''
|
||||
# There should be only one autofs service managed by systemd, so this should be safe.
|
||||
@ -85,7 +86,9 @@ in
|
||||
'';
|
||||
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.autofs5}/sbin/automount ${if cfg.debug then "-d" else ""} -f -t ${builtins.toString cfg.timeout} ${autoMaster} ${if cfg.debug then "-l7" else ""}";
|
||||
Type = "forking";
|
||||
PIDFile = "/run/autofs.pid";
|
||||
ExecStart = "${pkgs.autofs5}/bin/automount ${optionalString cfg.debug "-d"} -p /run/autofs.pid -t ${builtins.toString cfg.timeout} ${autoMaster}";
|
||||
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
|
||||
};
|
||||
};
|
||||
|
@ -111,10 +111,10 @@ in {
|
||||
description = "ejabberd server";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
after = [ "network.target" ];
|
||||
path = [ pkgs.findutils pkgs.coreutils ] ++ lib.optional cfg.imagemagick pkgs.imagemagick;
|
||||
path = [ pkgs.findutils pkgs.coreutils pkgs.runit ] ++ lib.optional cfg.imagemagick pkgs.imagemagick;
|
||||
|
||||
serviceConfig = {
|
||||
Type = "forking";
|
||||
ExecStart = ''${ectl} foreground'';
|
||||
# FIXME: runit is used for `chpst` -- can we get rid of this?
|
||||
ExecStop = ''${pkgs.runit}/bin/chpst -u "${cfg.user}:${cfg.group}" ${ectl} stop'';
|
||||
ExecReload = ''${pkgs.runit}/bin/chpst -u "${cfg.user}:${cfg.group}" ${ectl} reload_config'';
|
||||
@ -132,29 +132,24 @@ in {
|
||||
|
||||
mkdir -p -m750 "${cfg.spoolDir}"
|
||||
chown -R "${cfg.user}:${cfg.group}" "${cfg.spoolDir}"
|
||||
|
||||
if [ -z "$(ls -A '${cfg.spoolDir}')" ]; then
|
||||
touch "${cfg.spoolDir}/.firstRun"
|
||||
fi
|
||||
'';
|
||||
|
||||
script = ''
|
||||
[ -z "$(ls -A '${cfg.spoolDir}')" ] && firstRun=1
|
||||
|
||||
${ectl} start
|
||||
|
||||
count=0
|
||||
postStart = ''
|
||||
while ! ${ectl} status >/dev/null 2>&1; do
|
||||
if [ $count -eq 30 ]; then
|
||||
echo "ejabberd server hasn't started in 30 seconds, giving up"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
count=$((count++))
|
||||
sleep 1
|
||||
if ! kill -0 "$MAINPID"; then exit 1; fi
|
||||
sleep 0.1
|
||||
done
|
||||
|
||||
if [ -n "$firstRun" ]; then
|
||||
if [ -e "${cfg.spoolDir}/.firstRun" ]; then
|
||||
rm "${cfg.spoolDir}/.firstRun"
|
||||
for src in ${dumps}; do
|
||||
find "$src" -type f | while read dump; do
|
||||
echo "Loading configuration dump at $dump"
|
||||
${ectl} load "$dump"
|
||||
chpst -u "${cfg.user}:${cfg.group}" ${ectl} load "$dump"
|
||||
done
|
||||
done
|
||||
fi
|
||||
|
@ -235,19 +235,13 @@ in {
|
||||
|
||||
systemd.packages = cfg.packages;
|
||||
|
||||
# Create an initialisation service that both starts
|
||||
# NetworkManager when network.target is reached,
|
||||
# and sets up necessary directories for NM.
|
||||
systemd.services."networkmanager-init" = {
|
||||
description = "NetworkManager initialisation";
|
||||
systemd.services."network-manager" = {
|
||||
wantedBy = [ "network.target" ];
|
||||
wants = [ "network-manager.service" ];
|
||||
before = [ "network-manager.service" ];
|
||||
script = ''
|
||||
|
||||
preStart = ''
|
||||
mkdir -m 700 -p /etc/NetworkManager/system-connections
|
||||
mkdir -m 755 -p ${stateDirs}
|
||||
'';
|
||||
serviceConfig.Type = "oneshot";
|
||||
};
|
||||
|
||||
# Turn off NixOS' network management
|
||||
|
@ -1,8 +1,10 @@
|
||||
{ stdenv, fetchgit, python, pythonPackages, cdparanoia, cdrdao
|
||||
, pygobject, gst_python, gst_plugins_base, gst_plugins_good
|
||||
, setuptools, utillinux, makeWrapper, substituteAll, autoreconfHook }:
|
||||
{ stdenv, fetchgit, pythonPackages, cdparanoia, cdrdao
|
||||
, gst_python, gst_plugins_base, gst_plugins_good
|
||||
, utillinux, makeWrapper, substituteAll, autoreconfHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
let
|
||||
inherit (pythonPackages) python;
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "morituri-${version}";
|
||||
version = "0.2.3.20151109";
|
||||
namePrefix = "";
|
||||
@ -14,10 +16,10 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1sl5y5j3gdbynf2v0gf9dwd2hzawj8lm8ywadid7qm34yn8lx12k";
|
||||
};
|
||||
|
||||
pythonPath = [
|
||||
pygobject gst_python pythonPackages.musicbrainzngs
|
||||
pythonPackages.pycdio pythonPackages.pyxdg setuptools
|
||||
pythonPackages.CDDB
|
||||
pythonPath = with pythonPackages; [
|
||||
pygobject gst_python musicbrainzngs
|
||||
pycdio pyxdg setuptools
|
||||
CDDB
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
@ -1,10 +1,10 @@
|
||||
{ stdenv, buildPythonApplication, fetchurl, gettext
|
||||
{ stdenv, pythonPackages, fetchurl, gettext
|
||||
, pkgconfig, libofa, ffmpeg, chromaprint
|
||||
, pyqt4, mutagen, python-libdiscid
|
||||
}:
|
||||
|
||||
let version = "1.3.2"; in
|
||||
buildPythonApplication {
|
||||
let
|
||||
version = "1.3.2";
|
||||
in pythonPackages.buildPythonApplication {
|
||||
name = "picard-${version}";
|
||||
namePrefix = "";
|
||||
|
||||
@ -20,10 +20,10 @@ buildPythonApplication {
|
||||
gettext
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
propagatedBuildInputs = with pythonPackages; [
|
||||
pyqt4
|
||||
mutagen
|
||||
python-libdiscid
|
||||
discid
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
|
@ -12,10 +12,10 @@ with stdenv.lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "nano-${version}";
|
||||
version = "2.6.2";
|
||||
version = "2.6.3";
|
||||
src = fetchurl {
|
||||
url = "https://nano-editor.org/dist/v2.6/${name}.tar.gz";
|
||||
sha256 = "11c9iqiah4q7q3ndn7z9192a796vp4fffkg27s6q1dn8avp06dj5";
|
||||
sha256 = "00ym3zws1vdds726drgr5wj14mjn18d96ghn6vjci0915zhm8h2g";
|
||||
};
|
||||
nativeBuildInputs = [ texinfo ] ++ optional enableNls gettext;
|
||||
buildInputs = [ ncurses ];
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, fetchFromGitHub, cmake, qt4, quazip, qt-mobility, qxt, python, pycrypto, glib }:
|
||||
{ stdenv, fetchurl, fetchFromGitHub, cmake, qt4, quazip, qt-mobility, qxt, pythonPackages, glib }:
|
||||
|
||||
with stdenv.lib;
|
||||
stdenv.mkDerivation rec {
|
||||
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1s0dxa1sa37nvna5nfqdsp294810favj68qb7ghl78qna7zw0cim";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake qt4 quazip qt-mobility qxt python pycrypto ];
|
||||
buildInputs = [ cmake qt4 quazip qt-mobility qxt pythonPackages.python pythonPackages.pycrypto ];
|
||||
|
||||
patchPhase = ''
|
||||
# Required to make the configure script work. Normally, screencloud's
|
||||
@ -58,7 +58,7 @@ stdenv.mkDerivation rec {
|
||||
postInstall = ''
|
||||
patchShebangs $prefix/opt/screencloud/screencloud.sh
|
||||
substituteInPlace "$prefix/opt/screencloud/screencloud.sh" --replace "/opt" "$prefix/opt"
|
||||
sed -i "2 i\export PYTHONPATH=$(toPythonPath ${pycrypto}):\$PYTHONPATH" "$prefix/opt/screencloud/screencloud.sh"
|
||||
sed -i "2 i\export PYTHONPATH=$(toPythonPath ${pythonPackages.pycrypto}):\$PYTHONPATH" "$prefix/opt/screencloud/screencloud.sh"
|
||||
mkdir $prefix/bin
|
||||
mkdir $prefix/lib
|
||||
ln -s $prefix/opt/screencloud/screencloud.sh $prefix/bin/screencloud
|
||||
|
@ -1,12 +1,13 @@
|
||||
{ stdenv, fetchurl, requireFile, makeWrapper, unzip, jre }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "yEd-3.15.0.2";
|
||||
name = "yEd-${version}";
|
||||
version = "3.16.1";
|
||||
|
||||
src = requireFile {
|
||||
name = "${name}.zip";
|
||||
url = "https://www.yworks.com/en/products/yfiles/yed/";
|
||||
sha256 = "c60e4868f267303ee8b6fc2587beb4cc846f32bd8a6a557b77e01f0d8039aa4d";
|
||||
sha256 = "0h7ykcpvsikjfap51hpcz6z814riiwyps585j2i1yv9dmsbqdi7j";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ unzip makeWrapper ];
|
||||
|
@ -13,7 +13,8 @@ stdenv.mkDerivation rec {
|
||||
inherit patches;
|
||||
|
||||
postPatch = ''
|
||||
sed -ri -e 's!\<(dmenu|stest)\>!'"$out/bin"'/&!g' dmenu_run
|
||||
sed -ri -e 's!\<(dmenu|dmenu_path|stest)\>!'"$out/bin"'/&!g' dmenu_run
|
||||
sed -ri -e 's!\<stest\>!'"$out/bin"'/&!g' dmenu_path
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
|
@ -1,10 +1,11 @@
|
||||
{ stdenv, fetchurl, gtk3, pythonPackages, python, pycairo, pygobject3, intltool,
|
||||
{ stdenv, fetchurl, gtk3, pythonPackages, intltool,
|
||||
pango, gsettings_desktop_schemas }:
|
||||
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
let
|
||||
inherit (pythonPackages) python buildPythonApplication;
|
||||
in buildPythonApplication rec {
|
||||
version = "4.1.1";
|
||||
name = "gramps-${version}";
|
||||
namePrefix = "";
|
||||
|
||||
buildInputs = [ intltool gtk3 ];
|
||||
|
||||
@ -16,7 +17,7 @@ pythonPackages.buildPythonApplication rec {
|
||||
sha256 = "0jdps7yx2mlma1hdj64wssvnqd824xdvw0bmn2dnal5fn3h7h060";
|
||||
};
|
||||
|
||||
pythonPath = [ pygobject3 pango pycairo pythonPackages.bsddb ];
|
||||
pythonPath = with pythonPackages; [ pygobject3 pycairo bsddb ] ++ [ pango ];
|
||||
|
||||
# Same installPhase as in buildPythonApplication but without --old-and-unmanageble
|
||||
# install flag.
|
||||
|
@ -3,10 +3,13 @@
|
||||
, libctemplate, libglade
|
||||
, libiodbc
|
||||
, libgnome, libsigcxx, libuuid, libxml2, libzip, lua, mesa, mysql
|
||||
, pango, paramiko, pcre, pexpect, pkgconfig, pycrypto, python, sqlite, sudo
|
||||
, pango, pcre, pkgconfig, sqlite, sudo
|
||||
, pythonPackages
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
let
|
||||
inherit (pythonPackages) pexpect pycrypto python paramiko;
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "mysql-workbench";
|
||||
version = "5.2.47";
|
||||
name = "${pname}-${version}";
|
||||
|
@ -1,113 +0,0 @@
|
||||
From 0be3198cccf753226758684955f49a32d8d920c0 Mon Sep 17 00:00:00 2001
|
||||
From: Nikolay Amiantov <ab@fmap.me>
|
||||
Date: Wed, 17 Feb 2016 14:37:31 +0300
|
||||
Subject: [PATCH] Don't use static library
|
||||
|
||||
---
|
||||
octoprint_m3dfio/__init__.py | 67 +-----------------------------------------
|
||||
shared library source/Makefile | 6 ++--
|
||||
2 files changed, 5 insertions(+), 68 deletions(-)
|
||||
|
||||
diff --git a/octoprint_m3dfio/__init__.py b/octoprint_m3dfio/__init__.py
|
||||
index a2ca533..43f178a 100644
|
||||
--- a/octoprint_m3dfio/__init__.py
|
||||
+++ b/octoprint_m3dfio/__init__.py
|
||||
@@ -793,72 +793,7 @@ class M3DFioPlugin(
|
||||
# Set file locations
|
||||
self.setFileLocations()
|
||||
|
||||
- # Check if running on Linux
|
||||
- if platform.uname()[0].startswith("Linux") :
|
||||
-
|
||||
- # Check if running on a Raspberry Pi 1
|
||||
- if platform.uname()[4].startswith("armv6l") and self.getCpuHardware() == "BCM2708" :
|
||||
-
|
||||
- # Set shared library
|
||||
- self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_arm1176jzf-s.so")
|
||||
-
|
||||
- # Otherwise check if running on a Raspberry Pi 2 or Raspberry Pi 3
|
||||
- elif platform.uname()[4].startswith("armv7l") and self.getCpuHardware() == "BCM2709" :
|
||||
-
|
||||
- # Set shared library
|
||||
- self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_arm_cortex-a7.so")
|
||||
-
|
||||
- # Otherwise check if running on an ARM7 device
|
||||
- elif platform.uname()[4].startswith("armv7") :
|
||||
-
|
||||
- # Set shared library
|
||||
- self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_arm7.so")
|
||||
-
|
||||
- # Otherwise check if using an i386 or x86-64 device
|
||||
- elif platform.uname()[4].endswith("86") or platform.uname()[4].endswith("64") :
|
||||
-
|
||||
- # Check if Python is running as 32-bit
|
||||
- if platform.architecture()[0].startswith("32") :
|
||||
-
|
||||
- # Set shared library
|
||||
- self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_i386.so")
|
||||
-
|
||||
- # Otherwise check if Python is running as 64-bit
|
||||
- elif platform.architecture()[0].startswith("64") :
|
||||
-
|
||||
- # Set shared library
|
||||
- self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_x86-64.so")
|
||||
-
|
||||
- # Otherwise check if running on Windows and using an i386 or x86-64 device
|
||||
- elif platform.uname()[0].startswith("Windows") and (platform.uname()[4].endswith("86") or platform.uname()[4].endswith("64")) :
|
||||
-
|
||||
- # Check if Python is running as 32-bit
|
||||
- if platform.architecture()[0].startswith("32") :
|
||||
-
|
||||
- # Set shared library
|
||||
- self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_i386.dll")
|
||||
-
|
||||
- # Otherwise check if Python is running as 64-bit
|
||||
- elif platform.architecture()[0].startswith("64") :
|
||||
-
|
||||
- # Set shared library
|
||||
- self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_x86-64.dll")
|
||||
-
|
||||
- # Otherwise check if running on OS X and using an i386 or x86-64 device
|
||||
- elif platform.uname()[0].startswith("Darwin") and (platform.uname()[4].endswith("86") or platform.uname()[4].endswith("64")) :
|
||||
-
|
||||
- # Check if Python is running as 32-bit
|
||||
- if platform.architecture()[0].startswith("32") :
|
||||
-
|
||||
- # Set shared library
|
||||
- self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_i386.dylib")
|
||||
-
|
||||
- # Otherwise check if Python is running as 64-bit
|
||||
- elif platform.architecture()[0].startswith("64") :
|
||||
-
|
||||
- # Set shared library
|
||||
- self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_x86-64.dylib")
|
||||
-
|
||||
+ self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/../../../libpreprocessor.so")
|
||||
# Check if shared library was set
|
||||
if self.sharedLibrary :
|
||||
|
||||
diff --git a/shared library source/Makefile b/shared library source/Makefile
|
||||
index 9d015a1..a24f134 100644
|
||||
--- a/shared library source/Makefile
|
||||
+++ b/shared library source/Makefile
|
||||
@@ -58,13 +58,15 @@ ifeq ($(TARGET_PLATFORM), OSX64)
|
||||
CFLAGS = -fPIC -m64 -stdlib=libc++ -O3 -Wl,-install_name,$(PROG)$(VER)
|
||||
endif
|
||||
|
||||
+PROG = lib$(LIBRARY_NAME).so
|
||||
+CC = g++
|
||||
SRCS = preprocessor.cpp gcode.cpp vector.cpp
|
||||
-CFLAGS += -Wall -std=c++11 -fvisibility=hidden -shared
|
||||
+CFLAGS = -O3 -fPIC -Wall -std=c++11 -fvisibility=hidden -shared
|
||||
|
||||
all: $(PROG)
|
||||
|
||||
$(PROG): $(SRCS)
|
||||
- $(CC) $(CFLAGS) -o ../octoprint_m3dfio/static/libraries/$(PROG) $(SRCS)
|
||||
+ $(CC) $(CFLAGS) -o $(PROG) $(SRCS)
|
||||
|
||||
clean:
|
||||
rm -f ../octoprint_m3dfio/static/libraries/$(PROG)
|
||||
--
|
||||
2.7.1
|
||||
|
@ -2,41 +2,44 @@
|
||||
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
name = "OctoPrint-${version}";
|
||||
version = "1.2.10";
|
||||
version = "1.2.15";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "foosel";
|
||||
repo = "OctoPrint";
|
||||
rev = version;
|
||||
sha256 = "1ips1083c4qrfnkssvp1lxrs92svlid29l225ifsymrinpbjawav";
|
||||
sha256 = "0qfragp7n8m7l5l30s5fz1x7xzini2sdh2y3m1ahs7ay8zp4xk56";
|
||||
};
|
||||
|
||||
# We need old Tornado
|
||||
propagatedBuildInputs = with pythonPackages; [
|
||||
awesome-slugify flask_assets watchdog rsa requests2 pkginfo pylru
|
||||
semantic-version flask_principal sarge tornado_4_0_1 werkzeug netaddr flaskbabel
|
||||
netifaces psutil pyserial flask_login pyyaml sockjs-tornado
|
||||
awesome-slugify flask_assets rsa requests2 pkginfo watchdog
|
||||
semantic-version flask_principal werkzeug flaskbabel tornado_4_0_1
|
||||
psutil pyserial flask_login netaddr markdown sockjs-tornado
|
||||
pylru pyyaml sarge feedparser netifaces
|
||||
];
|
||||
|
||||
# Jailbreak dependencies.
|
||||
# Currently broken for new: tornado, pyserial, flask_login
|
||||
postPatch = ''
|
||||
# Jailbreak dependencies
|
||||
sed -i \
|
||||
-e 's,rsa==,rsa>=,g' \
|
||||
-e 's,sockjs-tornado==,sockjs-tornado>=,g' \
|
||||
-e 's,Flask-Principal==,Flask-Principal>=,g' \
|
||||
-e 's,werkzeug==,werkzeug>=,g' \
|
||||
-e 's,netaddr==,netaddr>=,g' \
|
||||
-e 's,requests==,requests>=,g' \
|
||||
-e 's,netifaces==,netifaces>=,g' \
|
||||
-e 's,psutil==,psutil>=,g' \
|
||||
-e 's,PyYAML==,PyYAML>=,g' \
|
||||
-e 's,werkzeug>=[^"]*,werkzeug,g' \
|
||||
-e 's,requests>=[^"]*,requests,g' \
|
||||
-e 's,pkginfo>=[^"]*,pkginfo,g' \
|
||||
-e 's,semantic_version>=[^"]*,semantic_version,g' \
|
||||
-e 's,psutil>=[^"]*,psutil,g' \
|
||||
-e 's,Flask-Babel>=[^"]*,Flask-Babel,g' \
|
||||
-e 's,Flask-Principal>=[^"]*,Flask-Principal,g' \
|
||||
-e 's,markdown>=[^"]*,markdown,g' \
|
||||
-e 's,Flask-Assets>=[^"]*,Flask-Assets,g' \
|
||||
-e 's,rsa>=[^"]*,rsa,g' \
|
||||
-e 's,PyYAML>=[^"]*,PyYAML,g' \
|
||||
setup.py
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://octoprint.org/";
|
||||
description = "The snappy web interface for your 3D printer";
|
||||
platforms = platforms.all;
|
||||
license = licenses.agpl3;
|
||||
maintainers = with maintainers; [ abbradar ];
|
||||
};
|
||||
|
161
pkgs/applications/misc/octoprint/m33-fio-one-library.patch
Normal file
161
pkgs/applications/misc/octoprint/m33-fio-one-library.patch
Normal file
@ -0,0 +1,161 @@
|
||||
From 62b4fabd1d4ee7a584a565d48c7eaec6e80fe0bd Mon Sep 17 00:00:00 2001
|
||||
From: Nikolay Amiantov <ab@fmap.me>
|
||||
Date: Fri, 12 Aug 2016 23:41:22 +0300
|
||||
Subject: [PATCH] Build and use one version of preprocessor library
|
||||
|
||||
---
|
||||
octoprint_m33fio/__init__.py | 66 +-----------------------------------------
|
||||
shared library source/Makefile | 59 +++----------------------------------
|
||||
2 files changed, 5 insertions(+), 120 deletions(-)
|
||||
|
||||
diff --git a/octoprint_m33fio/__init__.py b/octoprint_m33fio/__init__.py
|
||||
index da539f5..b0a17ad 100755
|
||||
--- a/octoprint_m33fio/__init__.py
|
||||
+++ b/octoprint_m33fio/__init__.py
|
||||
@@ -979,71 +979,7 @@ class M33FioPlugin(
|
||||
# Check if using shared library or checking if it is usable
|
||||
if self._settings.get_boolean(["UseSharedLibrary"]) or isUsable :
|
||||
|
||||
- # Check if running on Linux
|
||||
- if platform.uname()[0].startswith("Linux") :
|
||||
-
|
||||
- # Check if running on a Raspberry Pi 1
|
||||
- if platform.uname()[4].startswith("armv6l") and self.getCpuHardware() == "BCM2708" :
|
||||
-
|
||||
- # Set shared library
|
||||
- self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_arm1176jzf-s.so")
|
||||
-
|
||||
- # Otherwise check if running on a Raspberry Pi 2 or Raspberry Pi 3
|
||||
- elif platform.uname()[4].startswith("armv7l") and self.getCpuHardware() == "BCM2709" :
|
||||
-
|
||||
- # Set shared library
|
||||
- self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_arm_cortex-a7.so")
|
||||
-
|
||||
- # Otherwise check if running on an ARM7 device
|
||||
- elif platform.uname()[4].startswith("armv7") :
|
||||
-
|
||||
- # Set shared library
|
||||
- self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_arm7.so")
|
||||
-
|
||||
- # Otherwise check if using an i386 or x86-64 device
|
||||
- elif platform.uname()[4].endswith("86") or platform.uname()[4].endswith("64") :
|
||||
-
|
||||
- # Check if Python is running as 32-bit
|
||||
- if platform.architecture()[0].startswith("32") :
|
||||
-
|
||||
- # Set shared library
|
||||
- self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_i386.so")
|
||||
-
|
||||
- # Otherwise check if Python is running as 64-bit
|
||||
- elif platform.architecture()[0].startswith("64") :
|
||||
-
|
||||
- # Set shared library
|
||||
- self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_x86-64.so")
|
||||
-
|
||||
- # Otherwise check if running on Windows and using an i386 or x86-64 device
|
||||
- elif platform.uname()[0].startswith("Windows") and (platform.uname()[4].endswith("86") or platform.uname()[4].endswith("64")) :
|
||||
-
|
||||
- # Check if Python is running as 32-bit
|
||||
- if platform.architecture()[0].startswith("32") :
|
||||
-
|
||||
- # Set shared library
|
||||
- self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_i386.dll")
|
||||
-
|
||||
- # Otherwise check if Python is running as 64-bit
|
||||
- elif platform.architecture()[0].startswith("64") :
|
||||
-
|
||||
- # Set shared library
|
||||
- self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_x86-64.dll")
|
||||
-
|
||||
- # Otherwise check if running on OS X and using an i386 or x86-64 device
|
||||
- elif platform.uname()[0].startswith("Darwin") and (platform.uname()[4].endswith("86") or platform.uname()[4].endswith("64")) :
|
||||
-
|
||||
- # Check if Python is running as 32-bit
|
||||
- if platform.architecture()[0].startswith("32") :
|
||||
-
|
||||
- # Set shared library
|
||||
- self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_i386.dylib")
|
||||
-
|
||||
- # Otherwise check if Python is running as 64-bit
|
||||
- elif platform.architecture()[0].startswith("64") :
|
||||
-
|
||||
- # Set shared library
|
||||
- self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_x86-64.dylib")
|
||||
+ self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/libpreprocessor.so")
|
||||
|
||||
# Check if shared library was set
|
||||
if self.sharedLibrary :
|
||||
diff --git a/shared library source/Makefile b/shared library source/Makefile
|
||||
index a43d657..0b254aa 100755
|
||||
--- a/shared library source/Makefile
|
||||
+++ b/shared library source/Makefile
|
||||
@@ -1,62 +1,11 @@
|
||||
# Target platform options: LINUX32, LINUX64, WINDOWS32, WINDOWS64, PI, PI2, ARM7, OSX32, OSX64
|
||||
-LIBRARY_NAME = preprocessor
|
||||
+LIBRARY_NAME = libpreprocessor
|
||||
TARGET_PLATFORM = LINUX64
|
||||
VER = .1
|
||||
|
||||
-ifeq ($(TARGET_PLATFORM), LINUX32)
|
||||
- PROG = $(LIBRARY_NAME)_i386.so
|
||||
- CC = g++
|
||||
- CFLAGS = -fPIC -m32 -static-libgcc -O3 -Wl,-soname,$(PROG)$(VER) -static-libstdc++
|
||||
-endif
|
||||
-
|
||||
-ifeq ($(TARGET_PLATFORM), LINUX64)
|
||||
- PROG = $(LIBRARY_NAME)_x86-64.so
|
||||
- CC = g++
|
||||
- CFLAGS = -fPIC -m64 -static-libgcc -O3 -Wl,-soname,$(PROG)$(VER) -static-libstdc++
|
||||
-endif
|
||||
-
|
||||
-ifeq ($(TARGET_PLATFORM), WINDOWS32)
|
||||
- PROG = $(LIBRARY_NAME)_i386.dll
|
||||
- CC = i686-w64-mingw32-g++
|
||||
- CFLAGS = -static-libgcc -O3 -Wl,-soname,$(PROG)$(VER) -static-libstdc++
|
||||
-endif
|
||||
-
|
||||
-ifeq ($(TARGET_PLATFORM), WINDOWS64)
|
||||
- PROG = $(LIBRARY_NAME)_x86-64.dll
|
||||
- CC = x86_64-w64-mingw32-g++
|
||||
- CFLAGS = -static-libgcc -O3 -Wl,-soname,$(PROG)$(VER) -static-libstdc++
|
||||
-endif
|
||||
-
|
||||
-ifeq ($(TARGET_PLATFORM), PI)
|
||||
- PROG = $(LIBRARY_NAME)_arm1176jzf-s.so
|
||||
- CC = ~/tools/arm-bcm2708/arm-rpi-4.9.3-linux-gnueabihf/bin/arm-linux-gnueabihf-g++
|
||||
- CFLAGS = -fPIC -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -static-libgcc -O3 -Wl,-soname,$(PROG)$(VER) -static-libstdc++
|
||||
-endif
|
||||
-
|
||||
-ifeq ($(TARGET_PLATFORM), PI2)
|
||||
- PROG = $(LIBRARY_NAME)_arm_cortex-a7.so
|
||||
- CC = ~/tools/arm-bcm2708/arm-rpi-4.9.3-linux-gnueabihf/bin/arm-linux-gnueabihf-g++
|
||||
- CFLAGS = -fPIC -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -static-libgcc -O3 -Wl,-soname,$(PROG)$(VER) -static-libstdc++
|
||||
-endif
|
||||
-
|
||||
-ifeq ($(TARGET_PLATFORM), ARM7)
|
||||
- PROG = $(LIBRARY_NAME)_arm7.so
|
||||
- CC = ~/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++
|
||||
- CFLAGS = -fPIC -mcpu=generic-armv7-a -mfpu=vfp -mfloat-abi=hard -static-libgcc -O3 -Wl,-soname,$(PROG)$(VER) -static-libstdc++
|
||||
-endif
|
||||
-
|
||||
-ifeq ($(TARGET_PLATFORM), OSX32)
|
||||
- PROG = $(LIBRARY_NAME)_i386.dylib
|
||||
- CC = clang++
|
||||
- CFLAGS = -fPIC -m32 -stdlib=libc++ -O3 -Wl,-install_name,$(PROG)$(VER)
|
||||
-
|
||||
-endif
|
||||
-
|
||||
-ifeq ($(TARGET_PLATFORM), OSX64)
|
||||
- PROG = $(LIBRARY_NAME)_x86-64.dylib
|
||||
- CC = clang++
|
||||
- CFLAGS = -fPIC -m64 -stdlib=libc++ -O3 -Wl,-install_name,$(PROG)$(VER)
|
||||
-endif
|
||||
+PROG = $(LIBRARY_NAME).so
|
||||
+CC = g++
|
||||
+CFLAGS = -fPIC -O3 -Wl,-soname,$(PROG)$(VER)
|
||||
|
||||
SRCS = preprocessor.cpp gcode.cpp vector.cpp
|
||||
CFLAGS += -Wall -std=c++11 -fvisibility=hidden -shared
|
||||
--
|
||||
2.9.2
|
||||
|
@ -4,79 +4,84 @@ let
|
||||
buildPlugin = args: pythonPackages.buildPythonApplication (args // {
|
||||
buildInputs = (args.buildInputs or []) ++ [ octoprint ];
|
||||
});
|
||||
in {
|
||||
|
||||
m3d-fio = buildPlugin rec {
|
||||
name = "M3D-Fio-${version}";
|
||||
version = "0.32";
|
||||
self = {
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "donovan6000";
|
||||
repo = "M3D-Fio";
|
||||
rev = "V${version}";
|
||||
sha256 = "1s15nx6v56yjwd88b19fx0gk1l0abp76nz10yicspdn91fpr1sf4";
|
||||
# Deprecated alias
|
||||
m3d-fio = self.m33-fio; # added 2016-08-13
|
||||
|
||||
m33-fio = buildPlugin rec {
|
||||
name = "M33-Fio-${version}";
|
||||
version = "1.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "donovan6000";
|
||||
repo = "M33-Fio";
|
||||
rev = "V${version}";
|
||||
sha256 = "0ss8ic9l5srb5wj2mj0qafam0z4d6zv0cixhxgghh03fp0lvwjyq";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./m33-fio-one-library.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
rm -rf octoprint_m33fio/static/libraries/*
|
||||
(
|
||||
cd 'shared library source'
|
||||
make
|
||||
)
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/donovan6000/M3D-Fio";
|
||||
description = "OctoPrint plugin for the Micro 3D printer";
|
||||
platforms = platforms.all;
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ abbradar ];
|
||||
};
|
||||
};
|
||||
|
||||
patches = [
|
||||
./0001-Don-t-use-static-library.patch
|
||||
];
|
||||
titlestatus = buildPlugin rec {
|
||||
name = "OctoPrint-TitleStatus-${version}";
|
||||
version = "0.0.4";
|
||||
|
||||
postInstall = ''
|
||||
(
|
||||
cd 'shared library source'
|
||||
make
|
||||
install -Dm755 libpreprocessor.so $out/lib/libpreprocessor.so
|
||||
)
|
||||
rm -rf $out/${pythonPackages.python.sitePackages}/octoprint_m3dfio/static/libraries
|
||||
'';
|
||||
src = fetchFromGitHub {
|
||||
owner = "MoonshineSG";
|
||||
repo = "OctoPrint-TitleStatus";
|
||||
rev = version;
|
||||
sha256 = "1l78xrabn5hcly2mgxwi17nwgnp2s6jxi9iy4wnw8k8icv74ag7k";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/donovan6000/M3D-Fio";
|
||||
description = "OctoPrint plugin for the Micro 3D printer";
|
||||
platforms = platforms.all;
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ abbradar ];
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/MoonshineSG/OctoPrint-TitleStatus";
|
||||
description = "Show printers status in window title";
|
||||
platforms = platforms.all;
|
||||
license = licenses.agpl3;
|
||||
maintainers = with maintainers; [ abbradar ];
|
||||
};
|
||||
};
|
||||
|
||||
stlviewer = buildPlugin rec {
|
||||
name = "OctoPrint-STLViewer-${version}";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jneilliii";
|
||||
repo = "OctoPrint-STLViewer";
|
||||
rev = "v${version}";
|
||||
sha256 = "1a6sa8pw9ay7x27pfwr3nzb22x3jaw0c9vwyz4mrj76zkiw6svfi";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/jneilliii/Octoprint-STLViewer";
|
||||
description = "A simple stl viewer tab for OctoPrint";
|
||||
platforms = platforms.all;
|
||||
license = licenses.agpl3;
|
||||
maintainers = with maintainers; [ abbradar ];
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
titlestatus = buildPlugin rec {
|
||||
name = "OctoPrint-TitleStatus-${version}";
|
||||
version = "0.0.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "MoonshineSG";
|
||||
repo = "OctoPrint-TitleStatus";
|
||||
rev = version;
|
||||
sha256 = "1l78xrabn5hcly2mgxwi17nwgnp2s6jxi9iy4wnw8k8icv74ag7k";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/MoonshineSG/OctoPrint-TitleStatus;
|
||||
description = "Show printers status in window title";
|
||||
platforms = platforms.all;
|
||||
license = licenses.agpl3;
|
||||
maintainers = with maintainers; [ abbradar ];
|
||||
};
|
||||
};
|
||||
|
||||
stlviewer = buildPlugin rec {
|
||||
name = "OctoPrint-STLViewer-${version}";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jneilliii";
|
||||
repo = "OctoPrint-STLViewer";
|
||||
rev = "v${version}";
|
||||
sha256 = "1a6sa8pw9ay7x27pfwr3nzb22x3jaw0c9vwyz4mrj76zkiw6svfi";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/jneilliii/Octoprint-STLViewer;
|
||||
description = "A simple stl viewer tab for OctoPrint";
|
||||
platforms = platforms.all;
|
||||
license = licenses.agpl3;
|
||||
maintainers = with maintainers; [ abbradar ];
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
in self
|
||||
|
@ -1,15 +1,14 @@
|
||||
{ stdenv, fetchurl, autoreconfHook, pkgconfig, libX11, libxkbcommon, pango
|
||||
, cairo, glib, libxcb, xcbutil, xcbutilwm, libstartup_notification
|
||||
, i3Support ? false, i3
|
||||
{ stdenv, fetchurl, autoreconfHook, pkgconfig, libxkbcommon, pango
|
||||
, cairo, glib, libxcb, xcbutil, xcbutilwm, xcbutilxrm, libstartup_notification
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.1.0";
|
||||
version = "1.2.0";
|
||||
name = "rofi-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/DaveDavenport/rofi/releases/download/${version}/${name}.tar.xz";
|
||||
sha256 = "1l8vl0mh7i0b1ycifqpg6392f5i4qxlv003m126skfk6fnlfq8hn";
|
||||
sha256 = "0xxx0xpxhrhlhi2axq9867zqrhwqavc1qrr833k1xr0pvm5m0aqc";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
@ -18,9 +17,10 @@ stdenv.mkDerivation rec {
|
||||
sed -i 's/~root/~nobody/g' test/helper-expand.c
|
||||
'';
|
||||
|
||||
buildInputs = [ autoreconfHook pkgconfig libX11 libxkbcommon pango
|
||||
cairo libstartup_notification libxcb xcbutil xcbutilwm
|
||||
] ++ stdenv.lib.optional i3Support i3;
|
||||
buildInputs = [ autoreconfHook pkgconfig libxkbcommon pango cairo
|
||||
libstartup_notification libxcb xcbutil xcbutilwm xcbutilxrm
|
||||
];
|
||||
doCheck = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Window switcher, run dialog and dmenu replacement";
|
||||
|
@ -1,17 +1,18 @@
|
||||
{ stdenv, fetchgit }:
|
||||
{ stdenv, fetchFromGitHub, perl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "urxvt-tabbedex-2015-03-03";
|
||||
name = "urxvt-tabbedex-2016-08-09";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/mina86/urxvt-tabbedex";
|
||||
rev = "b0a02018b1cbaaba2a0c8ea7af9368db0adf3363";
|
||||
sha256 = "f0025f2741d424736620147d9fc39faac68193cb9f74bde0fb6e02a6f1ae61c3";
|
||||
src = fetchFromGitHub {
|
||||
owner = "mina86";
|
||||
repo = "urxvt-tabbedex";
|
||||
rev = "ac220eb3984e151ba14dce08f446bc7bc8ca29a2";
|
||||
sha256 = "1b5mff5137jb5ysklsmfp5ql3m4g1z3bdhk0nwhz2hgwz40ap6k8";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
install -D tabbedex $out/lib/urxvt/perl/tabbedex
|
||||
'';
|
||||
nativeBuildInputs = [ perl ];
|
||||
|
||||
installFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Tabbed plugin for rxvt-unicode with many enhancements (mina86's fork)";
|
||||
|
@ -17,6 +17,7 @@
|
||||
, gtk3
|
||||
, libX11
|
||||
, libXScrnSaver
|
||||
, libxcb
|
||||
, libXcomposite
|
||||
, libXdamage
|
||||
, libXext
|
||||
@ -90,6 +91,7 @@ stdenv.mkDerivation {
|
||||
libX11
|
||||
libXScrnSaver
|
||||
libXcomposite
|
||||
libxcb
|
||||
libXdamage
|
||||
libXext
|
||||
libXfixes
|
||||
|
@ -1,19 +1,21 @@
|
||||
{ stdenv, fetchurl, cmake, pkgconfig, intltool, vala, makeWrapper
|
||||
{ stdenv, fetchurl, cmake, pkgconfig, intltool, vala, wrapGAppsHook
|
||||
, gtk3, webkitgtk, librsvg, libnotify, sqlite
|
||||
, glib_networking, gsettings_desktop_schemas, libsoup, pcre, gnome3
|
||||
, libxcb, libpthreadstubs, libXdmcp, libxkbcommon, epoxy, at_spi2_core
|
||||
, zeitgeistSupport ? false, zeitgeist ? null
|
||||
}:
|
||||
|
||||
let
|
||||
version = "0.5.11";
|
||||
in
|
||||
assert zeitgeistSupport -> zeitgeist != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "midori-${version}";
|
||||
version = "0.5.11";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Lightweight WebKitGTK+ web browser";
|
||||
homepage = "http://midori-browser.org";
|
||||
license = licenses.lgpl21Plus;
|
||||
platforms = platforms.linux;
|
||||
license = with licenses; [ lgpl21Plus ];
|
||||
platforms = with platforms; linux;
|
||||
maintainers = with maintainers; [ raskin ramkromberg ];
|
||||
};
|
||||
|
||||
@ -26,24 +28,29 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0gcwqkcyliqz10i33ww3wl02mmfnl7jzl2d493l4l53ipsb1l6cn";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkgconfig wrapGAppsHook cmake intltool
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
cmake pkgconfig intltool vala makeWrapper
|
||||
webkitgtk librsvg libnotify sqlite gsettings_desktop_schemas pcre gnome3.gcr
|
||||
vala
|
||||
gtk3 webkitgtk librsvg libnotify sqlite gsettings_desktop_schemas pcre gnome3.gcr
|
||||
libxcb libpthreadstubs libXdmcp libxkbcommon epoxy at_spi2_core
|
||||
(libsoup.override {gnomeSupport = true; valaSupport = true;})
|
||||
] ++ stdenv.lib.optionals zeitgeistSupport [
|
||||
zeitgeist
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCMAKE_BUILD_TYPE=Release"
|
||||
"-DUSE_ZEITGEIST=OFF"
|
||||
"-DHALF_BRO_INCOM_WEBKIT2=OFF"
|
||||
"-DUSE_ZEITGEIST=${if zeitgeistSupport then "ON" else "OFF"}"
|
||||
"-DHALF_BRO_INCOM_WEBKIT2=ON"
|
||||
"-DUSE_GTK3=1"
|
||||
];
|
||||
|
||||
NIX_LDFLAGS="-lX11";
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram $out/bin/midori \
|
||||
--prefix GIO_EXTRA_MODULES : "${glib_networking.out}/lib/gio/modules" \
|
||||
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
||||
gappsWrapperArgs+=(--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" --prefix GIO_EXTRA_MODULES : "${glib_networking.out}/lib/gio/modules")
|
||||
'';
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pythonPackages, pyqt4, cython, libvncserver, zlib, twisted
|
||||
{ stdenv, fetchurl, pythonPackages, libvncserver, zlib
|
||||
, gnutls, libvpx, makeDesktopItem }:
|
||||
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
@ -18,7 +18,7 @@ pythonPackages.buildPythonApplication rec {
|
||||
propagatedBuildInputs = with pythonPackages;[ pyqt4 cjson sipsimple twisted
|
||||
];
|
||||
|
||||
buildInputs = [ cython zlib libvncserver libvpx ];
|
||||
buildInputs = [ pythonPackages.cython zlib libvncserver libvpx ];
|
||||
|
||||
desktopItem = makeDesktopItem {
|
||||
name = "Blink";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, python, pythonPackages, pyqt4, openssl }:
|
||||
{ stdenv, fetchFromGitHub, pythonPackages, openssl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pybitmessage-${version}";
|
||||
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1f4h0yc1mfjnxzvxiv9hxgak59mgr3a5ykv50vlyiay82za20jax";
|
||||
};
|
||||
|
||||
buildInputs = [ python pyqt4 openssl pythonPackages.wrapPython pythonPackages.sqlite3 ];
|
||||
buildInputs = with pythonPackages; [ python pyqt4 wrapPython sqlite3 ] ++ [ openssl ];
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace Makefile \
|
||||
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
postInstall = ''
|
||||
substituteInPlace $out/bin/pybitmessage \
|
||||
--replace "exec python2" "exec ${python}/bin/python" \
|
||||
--replace "exec python2" "exec ${pythonPackages.python}/bin/python" \
|
||||
--replace "/opt/openssl-compat-bitcoin/lib/" "${openssl.out}/lib/"
|
||||
wrapProgram $out/bin/pybitmessage \
|
||||
--prefix PYTHONPATH : "$(toPythonPath $out):$PYTHONPATH"
|
||||
|
@ -16,20 +16,20 @@ let
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "telegram-desktop-${version}";
|
||||
version = "0.9.56";
|
||||
version = "0.10.1";
|
||||
qtVersion = lib.replaceStrings ["."] ["_"] packagedQt;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "telegramdesktop";
|
||||
repo = "tdesktop";
|
||||
rev = "v${version}";
|
||||
sha256 = "000ngg6arfb6mif0hvin099f83q3sn7mw4vfvrikskczblw3a5lc";
|
||||
sha256 = "08isxwif6zllglkpd9i7ypxm2s4bibzqris48607bafr88ylksdk";
|
||||
};
|
||||
|
||||
tgaur = fetchgit {
|
||||
url = "https://aur.archlinux.org/telegram-desktop.git";
|
||||
rev = "f8907d1ccaf8345c06232238342921213270e3d8";
|
||||
sha256 = "04jh0fsrh4iwg188d20z15qkxv05wa5lpd8h21yxx3jxqljpdkws";
|
||||
rev = "9ce7be9efed501f988bb099956fa63729f2c25ea";
|
||||
sha256 = "1wp6lqscpm2byizchm0bj48dg9bga02r9r69ns10zxk0gk0qvvdn";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
@ -50,22 +50,8 @@ in stdenv.mkDerivation rec {
|
||||
"CONFIG+=release"
|
||||
"DEFINES+=TDESKTOP_DISABLE_AUTOUPDATE"
|
||||
"DEFINES+=TDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME"
|
||||
"INCLUDEPATH+=${gtk2.dev}/include/gtk-2.0"
|
||||
"INCLUDEPATH+=${glib.dev}/include/glib-2.0"
|
||||
"INCLUDEPATH+=${glib.out}/lib/glib-2.0/include"
|
||||
"INCLUDEPATH+=${cairo.dev}/include/cairo"
|
||||
"INCLUDEPATH+=${pango.dev}/include/pango-1.0"
|
||||
"INCLUDEPATH+=${gtk2.out}/lib/gtk-2.0/include"
|
||||
"INCLUDEPATH+=${gdk_pixbuf.dev}/include/gdk-pixbuf-2.0"
|
||||
"INCLUDEPATH+=${atk.dev}/include/atk-1.0"
|
||||
"INCLUDEPATH+=${libappindicator-gtk2}/include/libappindicator-0.1"
|
||||
"INCLUDEPATH+=${libunity}/include/unity"
|
||||
"INCLUDEPATH+=${dee}/include/dee-1.0"
|
||||
"INCLUDEPATH+=${libdbusmenu-glib}/include/libdbusmenu-glib-0.4"
|
||||
"INCLUDEPATH+=${breakpad}/include/breakpad"
|
||||
"QT_TDESKTOP_VERSION=${systemQt}"
|
||||
"LIBS+=-lcrypto"
|
||||
"LIBS+=-lssl"
|
||||
];
|
||||
|
||||
qtSrcs = [ qtbase.src qtimageformats.src ];
|
||||
@ -79,11 +65,10 @@ in stdenv.mkDerivation rec {
|
||||
sed -i 'Telegram/Telegram.pro' \
|
||||
-e 's,CUSTOM_API_ID,,g' \
|
||||
-e 's,/usr,/does-not-exist,g' \
|
||||
-e '/LIBS += .*libxkbcommon.a/d' \
|
||||
-e 's,LIBS += .*libz.a,LIBS += -lz,' \
|
||||
-e 's,LIBS += .*libbreakpad_client.a,LIBS += ${breakpad}/lib/libbreakpad_client.a,' \
|
||||
-e 's, -flto,,g' \
|
||||
-e 's, -static-libstdc++,,g'
|
||||
-e 's,LIBS += .*libbreakpad_client.a,LIBS += ${breakpad}/lib/libbreakpad_client.a,' \
|
||||
-e 's, -static-libstdc++,,g' \
|
||||
-e '/LIBS += .*libxkbcommon.a/d'
|
||||
|
||||
export qmakeFlags="$qmakeFlags QT_TDESKTOP_PATH=$PWD/../qt"
|
||||
|
||||
@ -105,7 +90,7 @@ in stdenv.mkDerivation rec {
|
||||
export configureFlags="-prefix "$PWD/../qt" -release -opensource -confirm-license -system-zlib \
|
||||
-system-libpng -system-libjpeg -system-freetype -system-harfbuzz -system-pcre -system-xcb \
|
||||
-system-xkbcommon-x11 -no-opengl -static -nomake examples -nomake tests \
|
||||
-openssl-linked -dbus-linked -system-sqlite -verbose \
|
||||
-openssl-linked -dbus-linked -system-sqlite -verbose -no-gtkstyle \
|
||||
${lib.optionalString (!system-x86_64) "-no-sse2"} -no-sse3 -no-ssse3 \
|
||||
-no-sse4.1 -no-sse4.2 -no-avx -no-avx2 -no-mips_dsp -no-mips_dspr2"
|
||||
export dontAddPrefix=1
|
||||
|
@ -32,7 +32,7 @@ with stdenv.lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "claws-mail-${version}";
|
||||
version = "3.13.2";
|
||||
version = "3.14.0";
|
||||
|
||||
meta = {
|
||||
description = "The user-friendly, lightweight, and fast email client";
|
||||
@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.claws-mail.org/download.php?file=releases/claws-mail-${version}.tar.xz";
|
||||
sha256 = "1l8ankx0qpq1ix1an8viphcf11ksh53jsrm1xjmq8cjbh5910wva";
|
||||
sha256 = "0nfchgga3ir91s8rky0a0vnz8cgj2f6h716wh3cmb466a01xfss6";
|
||||
};
|
||||
|
||||
patches = [ ./mime.patch ];
|
||||
|
@ -1,14 +1,14 @@
|
||||
{ stdenv, fetchFromGitHub, go }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.14.3";
|
||||
version = "0.14.4";
|
||||
name = "syncthing-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "syncthing";
|
||||
repo = "syncthing";
|
||||
rev = "v${version}";
|
||||
sha256 = "114i0911h3q6dn3j9x2qcm5lzpqclvrpf5vk87qpqp9qy62jp3az";
|
||||
sha256 = "0i1pgwy7vn2hfcqa7dvrrc40hzrzn47alvnxm058f2hhxjis3fdw";
|
||||
};
|
||||
|
||||
buildInputs = [ go ];
|
||||
|
@ -1,10 +1,10 @@
|
||||
{ fetchurl, stdenv, python, makeWrapper, lib
|
||||
, xpdf, pillow, pyopengl, pygame
|
||||
, setuptools, mesa, freeglut }:
|
||||
{ fetchurl, stdenv, pythonPackages, makeWrapper, lib
|
||||
, xpdf, mesa, freeglut }:
|
||||
|
||||
let version = "0.10.5";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
let
|
||||
inherit (pythonPackages) python pyopengl pygame setuptools pillow;
|
||||
version = "0.10.5";
|
||||
in stdenv.mkDerivation {
|
||||
# This project was formerly known as KeyJNote.
|
||||
# See http://keyj.s2000.ws/?p=77 for details.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, file, which, intltool, findutils, xdg_utils, pycairo,
|
||||
{ stdenv, fetchurl, file, which, intltool, findutils, xdg_utils,
|
||||
gnome3, pythonPackages, wrapGAppsHook }:
|
||||
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
|
@ -1,16 +1,14 @@
|
||||
{ stdenv, fetchurl, itstool, buildPythonApplication, python27, intltool, wrapGAppsHook
|
||||
, libxml2, pygobject3, gobjectIntrospection, gtk3, gnome3, pycairo, cairo, file
|
||||
{ stdenv, fetchurl, itstool, pythonPackages, intltool, wrapGAppsHook
|
||||
, libxml2, gobjectIntrospection, gtk3, gnome3, cairo, file
|
||||
}:
|
||||
|
||||
|
||||
let
|
||||
minor = "3.16";
|
||||
version = "${minor}.2";
|
||||
in
|
||||
|
||||
buildPythonApplication rec {
|
||||
inherit (pythonPackages) python buildPythonApplication pycairo pygobject3;
|
||||
in buildPythonApplication rec {
|
||||
name = "meld-${version}";
|
||||
namePrefix = "";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/meld/${minor}/meld-${version}.tar.xz";
|
||||
@ -18,19 +16,19 @@ buildPythonApplication rec {
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
python27 intltool wrapGAppsHook itstool libxml2
|
||||
intltool wrapGAppsHook itstool libxml2
|
||||
gnome3.gtksourceview gnome3.gsettings_desktop_schemas pycairo cairo
|
||||
gnome3.defaultIconTheme gnome3.dconf file
|
||||
];
|
||||
propagatedBuildInputs = [ gobjectIntrospection pygobject3 gtk3 ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out/lib/${python27.libPrefix}/site-packages"
|
||||
mkdir -p "$out/lib/${python.libPrefix}/site-packages"
|
||||
|
||||
export PYTHONPATH="$out/lib/${python27.libPrefix}/site-packages:$PYTHONPATH"
|
||||
export PYTHONPATH="$out/lib/${python.libPrefix}/site-packages:$PYTHONPATH"
|
||||
|
||||
${python27}/bin/${python27.executable} setup.py install \
|
||||
--install-lib=$out/lib/${python27.libPrefix}/site-packages \
|
||||
${python}/bin/${python.executable} setup.py install \
|
||||
--install-lib=$out/lib/${python.libPrefix}/site-packages \
|
||||
--prefix="$out"
|
||||
|
||||
mkdir -p $out/share/gsettings-schemas/$name
|
||||
|
@ -1,11 +1,13 @@
|
||||
{stdenv, fetchurl, makeWrapper, python27, python27Packages, git,
|
||||
docbook_xml_dtd_412, docbook_xml_xslt, asciidoc, xmlto,
|
||||
cython ? null,
|
||||
bazaar ? null, cvs ? null, darcs ? null, fossil ? null,
|
||||
mercurial ? null, monotone ? null, rcs ? null, src ? null,
|
||||
subversion ? null, cvs_fast_export ? null }:
|
||||
{ stdenv, fetchurl, makeWrapper, python27Packages, git
|
||||
, docbook_xml_dtd_412, docbook_xml_xslt, asciidoc, xmlto
|
||||
, bazaar ? null, cvs ? null, darcs ? null, fossil ? null
|
||||
, mercurial ? null, monotone ? null, rcs ? null, src ? null
|
||||
, subversion ? null, cvs_fast_export ? null }:
|
||||
|
||||
with stdenv; with lib;
|
||||
mkDerivation rec {
|
||||
let
|
||||
inherit (python27Packages) python cython;
|
||||
in mkDerivation rec {
|
||||
name = "reposurgeon-${meta.version}";
|
||||
meta = {
|
||||
description = "A tool for editing version-control repository history";
|
||||
@ -33,8 +35,8 @@ mkDerivation rec {
|
||||
makeFlagsArray=(
|
||||
XML_CATALOG_FILES="${docbook_xml_dtd_412}/xml/dtd/docbook/catalog.xml ${docbook_xml_xslt}/xml/xsl/docbook/catalog.xml"
|
||||
prefix="$out"
|
||||
pyinclude="-I${python27}/include/python2.7"
|
||||
pylib="-L${python27}/lib -lpython2.7"
|
||||
pyinclude="-I${python}/include/python2.7"
|
||||
pylib="-L${python}/lib -lpython2.7"
|
||||
)
|
||||
'';
|
||||
|
||||
@ -51,7 +53,7 @@ mkDerivation rec {
|
||||
[ out git bazaar cvs darcs fossil mercurial
|
||||
monotone rcs src subversion cvs_fast_export ]
|
||||
);
|
||||
pythonpath = makeSearchPathOutput "lib" python27.sitePackages (
|
||||
pythonpath = makeSearchPathOutput "lib" python.sitePackages (
|
||||
filter (x: x != null)
|
||||
[ python27Packages.readline or null python27Packages.hglib or null ]
|
||||
);
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, python, rcs, git, pylint }:
|
||||
{ stdenv, fetchurl, python, rcs, git }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "src-1.11";
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchurl, python, buildPythonApplication, pythonPackages, pkgconfig
|
||||
, pyrex096, ffmpeg, boost, glib, pygobject, gtk2, webkitgtk2, libsoup, pygtk
|
||||
, taglib, sqlite, pycurl, mutagen, pycairo, pythonDBus, pywebkitgtk
|
||||
{ stdenv, fetchurl, pkgconfig
|
||||
, pythonPackages, pyrex096, ffmpeg, boost, glib, gtk2, webkitgtk2, libsoup
|
||||
, taglib, sqlite
|
||||
, libtorrentRasterbar, glib_networking, gsettings_desktop_schemas
|
||||
, gst_python, gst_plugins_base, gst_plugins_good, gst_ffmpeg
|
||||
, enableBonjour ? false, avahi ? null
|
||||
@ -10,10 +10,11 @@ assert enableBonjour -> avahi != null;
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
buildPythonApplication rec {
|
||||
name = "miro-${version}";
|
||||
namePrefix = "";
|
||||
let
|
||||
inherit (pythonPackages) python buildPythonApplication;
|
||||
version = "6.0";
|
||||
in buildPythonApplication rec {
|
||||
name = "miro-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://ftp.osuosl.org/pub/pculture.org/miro/src/${name}.tar.gz";
|
||||
@ -56,7 +57,7 @@ buildPythonApplication rec {
|
||||
|
||||
preInstall = ''
|
||||
# see https://bitbucket.org/pypa/setuptools/issue/130/install_data-doesnt-respect-prefix
|
||||
${python}/bin/${python.executable} setup.py install_data --root=$out
|
||||
${python.interpreter} setup.py install_data --root=$out
|
||||
sed -i '/data_files=data_files/d' setup.py
|
||||
'';
|
||||
|
||||
@ -68,14 +69,14 @@ buildPythonApplication rec {
|
||||
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:$out/share"
|
||||
'';
|
||||
|
||||
buildInputs = [
|
||||
pkgconfig pyrex096 ffmpeg boost glib pygobject gtk2 webkitgtk2 libsoup
|
||||
pygtk taglib gsettings_desktop_schemas sqlite
|
||||
buildInputs = with pythonPackages; [ pygtk pygobject ] ++ [
|
||||
pkgconfig pyrex096 ffmpeg boost glib gtk2 webkitgtk2 libsoup
|
||||
taglib gsettings_desktop_schemas sqlite
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pygobject pygtk pycurl python.modules.sqlite3 mutagen pycairo pythonDBus
|
||||
pywebkitgtk libtorrentRasterbar
|
||||
propagatedBuildInputs = with pythonPackages; [
|
||||
pygobject pygtk pycurl sqlite3 mutagen pycairo dbus
|
||||
pywebkitgtk] ++ [ libtorrentRasterbar
|
||||
gst_python gst_plugins_base gst_plugins_good gst_ffmpeg
|
||||
] ++ optional enableBonjour avahi;
|
||||
|
||||
|
@ -1,6 +1,9 @@
|
||||
{ stdenv, fetchbzr, python, pyqt4, sip, rtmpdump, makeWrapper }:
|
||||
{ stdenv, fetchbzr, pythonPackages, rtmpdump, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
let
|
||||
inherit (pythonPackages) python pyqt4;
|
||||
sip = pythonPackages.sip_4_16;
|
||||
in stdenv.mkDerivation {
|
||||
name = "qarte-2.4.0";
|
||||
src = fetchbzr {
|
||||
url = http://bazaar.launchpad.net/~vincent-vandevyvre/qarte/trunk;
|
||||
|
@ -7,14 +7,12 @@ stdenv.mkDerivation rec {
|
||||
url = "https://github.com/krallin/tini/archive/v0.8.3.tar.gz";
|
||||
sha256 ="1w7rj4crrcyv25idmh4asbp2sxzwyihy5mbpw384bzxjzaxn9xpa";
|
||||
};
|
||||
patchPhase = "sed -i /tini-static/d CMakeLists.txt";
|
||||
NIX_CFLAGS_COMPILE = [
|
||||
"-DPR_SET_CHILD_SUBREAPER=36"
|
||||
"-DPR_GET_CHILD_SUBREAPER=37"
|
||||
];
|
||||
buildInputs = [ cmake ];
|
||||
postInstall = ''
|
||||
rm $out/bin/tini-static
|
||||
'';
|
||||
meta = with stdenv.lib; {
|
||||
description = "A tiny but valid init for containers";
|
||||
homepage = https://github.com/krallin/tini;
|
||||
|
@ -1,7 +1,5 @@
|
||||
source $stdenv/setup
|
||||
|
||||
set -o pipefail
|
||||
|
||||
version=$(cd $kernel/lib/modules && ls -d *)
|
||||
|
||||
echo "kernel version is $version"
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "emojione-${version}";
|
||||
version = "1.2";
|
||||
version = "1.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "eosrei";
|
||||
repo = "emojione-color-font";
|
||||
rev = "v${version}";
|
||||
sha256 = "001c2bph4jcdg9arfmyxrscf1i09gvg44kqy28chjmhxzq99hpcg";
|
||||
sha256 = "0hgs661g1j91lkafhrfx5ix7ymarh5bzcx34r2id6jl7dc3j41l3";
|
||||
};
|
||||
|
||||
preBuild = ''
|
||||
|
@ -2,10 +2,10 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "wireless-regdb-${version}";
|
||||
version = "2016-05-02";
|
||||
version = "2016-06-10";
|
||||
|
||||
src = fetchgit {
|
||||
sha256 = "1qa741an242wi6gdikkr4ahanphfhwnjg8q2z3rsv8wdha91k895";
|
||||
sha256 = "0im9likzpziircl96pql2jpyl8pfcqc5v0wgqy705j4ga5sx8pmn";
|
||||
url = https://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git;
|
||||
rev = "refs/tags/master-${version}";
|
||||
};
|
||||
|
@ -30,7 +30,6 @@ stdenv.mkDerivation rec {
|
||||
networkmanager modemmanager makeWrapper gnome3.gnome-bluetooth grilo ];
|
||||
|
||||
preBuild = ''
|
||||
substituteInPlace tz.h --replace "/usr/share/zoneinfo/zone.tab" "${tzdata}/share/zoneinfo/zone.tab"
|
||||
substituteInPlace panels/datetime/tz.h --replace "/usr/share/zoneinfo/zone.tab" "${tzdata}/share/zoneinfo/zone.tab"
|
||||
|
||||
# hack to make test-endianess happy
|
||||
|
@ -19,10 +19,6 @@ let baseAttrs = rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
postInstall = ''
|
||||
substituteInPlace $out/lib/libvte2_90.la --replace "-lncurses" "-L${ncurses.out}/lib -lncurses"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.gnome.org/;
|
||||
description = "A library implementing a terminal emulator widget for GTK+";
|
||||
|
@ -1,8 +1,8 @@
|
||||
{ stdenv, kde, kdelibs, kactivities, qjson, pyqt4, python, pykde4}:
|
||||
{ stdenv, kde, kdelibs, kactivities, qjson, pythonPackages, pykde4}:
|
||||
|
||||
kde {
|
||||
|
||||
buildInputs = [ kdelibs kactivities qjson pyqt4 python pykde4 ];
|
||||
buildInputs = [ kdelibs kactivities qjson pythonPackages.pyqt4 pythonPackages.python pykde4 ];
|
||||
|
||||
meta = {
|
||||
description = "Kate, the KDE Advanced Text Editor, as well as KWrite";
|
||||
|
@ -1,9 +1,10 @@
|
||||
{ kde, kdelibs, python, pyqt4, kdepimlibs, shared_desktop_ontologies,
|
||||
{ kde, kdelibs, pythonPackages, kdepimlibs, shared_desktop_ontologies,
|
||||
polkit_qt4, boost, lndir, pkgconfig }:
|
||||
|
||||
let pydir = "lib/python${python.majorVersion}"; in
|
||||
|
||||
kde {
|
||||
let
|
||||
inherit (pythonPackages) python pyqt4;
|
||||
pydir = "lib/python${python.majorVersion}";
|
||||
in kde {
|
||||
|
||||
patches = [ ./pykde4-gcc-5.patch ];
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ kde, kdelibs
|
||||
, pythonPackages, cups, pyqt4, pykde4, pycups, system-config-printer }:
|
||||
, pythonPackages, cups, pykde4, system-config-printer }:
|
||||
|
||||
let s_c_p = system-config-printer.override { withGUI = false; }; in
|
||||
|
||||
@ -7,7 +7,7 @@ kde rec {
|
||||
buildInputs = [ kdelibs pythonPackages.python pythonPackages.wrapPython
|
||||
] ++ pythonPath;
|
||||
|
||||
pythonPath = [ cups pyqt4 pykde4 pycups s_c_p ];
|
||||
pythonPath = [ cups pythonPackages.pyqt4 pykde4 pythonPackages.pycups s_c_p ];
|
||||
|
||||
# system-config-printer supplies some D-Bus policy that we need.
|
||||
propagatedUserEnvPkgs = [ s_c_p ];
|
||||
|
@ -1,7 +1,9 @@
|
||||
{ stdenv, fetchurl, python, cython, pkgconfig, wrapPython
|
||||
, pygame, SDL, libpng, ffmpeg, freetype, glew, mesa, fribidi, zlib
|
||||
{ stdenv, fetchurl, pythonPackages, pkgconfig, SDL
|
||||
, libpng, ffmpeg, freetype, glew, mesa, fribidi, zlib
|
||||
}:
|
||||
|
||||
with pythonPackages;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "renpy-6.17.6";
|
||||
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cppzmq-${version}";
|
||||
version = "2016-01-20";
|
||||
version = "2016-07-18";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zeromq";
|
||||
repo = "cppzmq";
|
||||
rev = "68a7b09cfce01c4c279fba2cf91686fcfc566848";
|
||||
sha256 = "00dsqqlm8mxhm8kfdspxfln0wzwkyywscnf264afw02k6xf28ndm";
|
||||
rev = "92d2af6def80a01b76d5e73f073c439ad00ab757";
|
||||
sha256 = "0lnwh314hh5ifad2sa2nz1g1ld1jc4vplm7clyvx304sjjvbvl27";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
|
@ -1,18 +1,18 @@
|
||||
{ stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, boost, libevent, double_conversion, glog
|
||||
, google-gflags, python, libiberty, openssl }:
|
||||
{ stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, pkgconfig, boost, libevent
|
||||
, double_conversion, glog, google-gflags, python, libiberty, openssl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "folly-${version}";
|
||||
version = "2016-04-29";
|
||||
version = "2016.08.08.00";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "facebook";
|
||||
repo = "folly";
|
||||
rev = "b31eb722e444ab0293a73fe9de3f94e657ca6de9";
|
||||
sha256 = "0s95y0wnz4xbrkzbiksnb0n0d0qrkcsbssznng57kwlq8jlfka24";
|
||||
rev = "v${version}";
|
||||
sha256 = "0f9xdi8w2mbn6gxjfvpzh8i22ca8p11a2ss6qkw31yhdgd3s9087";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook python ];
|
||||
nativeBuildInputs = [ autoreconfHook python pkgconfig ];
|
||||
buildInputs = [ libiberty boost libevent double_conversion glog google-gflags openssl ];
|
||||
|
||||
postPatch = "cd folly";
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
let
|
||||
pname = "icu4c";
|
||||
version = "56.1";
|
||||
version = "57.1";
|
||||
in
|
||||
stdenv.mkDerivation ({
|
||||
name = pname + "-" + version;
|
||||
@ -10,7 +10,7 @@ stdenv.mkDerivation ({
|
||||
src = fetchurl {
|
||||
url = "http://download.icu-project.org/files/${pname}/${version}/${pname}-"
|
||||
+ (stdenv.lib.replaceChars ["."] ["_"] version) + "-src.tgz";
|
||||
sha256 = "05j86714qaj0lvhvyr2s1xncw6sk0h2dcghb3iiwykbkbh8fjr1s";
|
||||
sha256 = "10cmkqigxh9f73y7q3p991q6j8pph0mrydgj11w1x6wlcp5ng37z";
|
||||
};
|
||||
|
||||
outputs = [ "dev" "out" ];
|
||||
|
@ -8,6 +8,11 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1bmdr51wxiir595k2r6z9a7rcgm42kkgnr586xir7vdcndr3pwf8";
|
||||
};
|
||||
|
||||
# By default, jemalloc puts a je_ prefix onto all its symbols on OSX, which
|
||||
# then stops downstream builds (mariadb in particular) from detecting it. This
|
||||
# option should remove the prefix and give us a working jemalloc.
|
||||
configureFlags = stdenv.lib.optional stdenv.isDarwin "--with-jemalloc-prefix=";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.canonware.com/jemalloc/index.html;
|
||||
description = "General purpose malloc(3) implementation";
|
||||
|
@ -9,12 +9,6 @@ in stdenv.mkDerivation {
|
||||
sha256 = "02i5brb2007sxq3mn862mr7yxxm0g6nj172417hjyvjax7549xmj";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace "/usr" "$out" \
|
||||
--replace "{exec_prefix}" "{prefix}"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Common functions found on BSD systems";
|
||||
homepage = http://libbsd.freedesktop.org/;
|
||||
|
28
pkgs/development/libraries/libdynd/default.nix
Normal file
28
pkgs/development/libraries/libdynd/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ stdenv, fetchFromGitHub, cmake }:
|
||||
|
||||
let version = "0.7.2"; in
|
||||
stdenv.mkDerivation {
|
||||
name = "libdynd-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "libdynd";
|
||||
repo = "libdynd";
|
||||
rev = "v${version}";
|
||||
sha256 = "0fkd5rawqni1cq51fmr76iw7ll4fmbahfwv4rglnsabbkylf73pr";
|
||||
};
|
||||
|
||||
cmakeFlags = [
|
||||
"-DDYND_BUILD_BENCHMARKS=OFF"
|
||||
];
|
||||
|
||||
buildInputs = [ cmake ];
|
||||
|
||||
outputs = [ "dev" "out" ];
|
||||
outputDoc = "dev";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "C++ dynamic ndarray library, with Python exposure.";
|
||||
homepage = http://libdynd.org;
|
||||
license = licenses.bsd2;
|
||||
};
|
||||
}
|
@ -3,13 +3,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libvdpau-va-gl-${version}";
|
||||
version = "0.3.6";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "i-rinat";
|
||||
repo = "libvdpau-va-gl";
|
||||
rev = "v${version}";
|
||||
sha256 = "06lcg6zfj6mn17svz7s0y6ijdah55l9rnp9r440lcbixivjbgyn5";
|
||||
sha256 = "1y511jxs0df1fqzjcvb6zln7nbmchv1g6z3lw0z9nsf64ziycj8k";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
|
@ -1,17 +1,15 @@
|
||||
{ stdenv, fetchurl, unzip, openblas, gfortran }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "3.12.4";
|
||||
version = "3.12.6";
|
||||
name = "ipopt-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.coin-or.org/download/source/Ipopt/Ipopt-${version}.zip";
|
||||
sha256 = "0hxmpi3zx5zgv2ijscdvc40xf88hx5if0d9sgch155z70g15wx0l";
|
||||
sha256 = "0lx09h1757s5jppwnxwblcjk0biqjxy7yaf3z4vfqbl4rl93avs0";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
export CXXDEFS="-DHAVE_RAND -DHAVE_CSTRING -DHAVE_CSTDIO"
|
||||
'';
|
||||
CXXDEFS = [ "-DHAVE_RAND" "-DHAVE_CSTRING" "-DHAVE_CSTDIO" ];
|
||||
|
||||
configureFlags = [
|
||||
"--with-blas-lib=-lopenblas"
|
||||
|
@ -2,17 +2,15 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "xgboost-${version}";
|
||||
version = "2016-05-14";
|
||||
version = "0.60";
|
||||
|
||||
# needs submodules
|
||||
src = fetchgit {
|
||||
url = "https://github.com/dmlc/xgboost";
|
||||
rev = "9c26566eb09733423f821f139938ff4105c3775d";
|
||||
sha256 = "1d7lnbwxwakclqqfjwyk9w3wd2clkihdr6ljs5z08ydiaspri093";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "0536vfl59n9vlagl1cpdl06c9y19dscwhwdzvi27zk5nc5qb6rdq";
|
||||
};
|
||||
|
||||
postPatch = "sed '1i#include <cmath>' -i src/tree/param.h";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
installPhase = ''
|
||||
|
@ -40,7 +40,10 @@ stdenv.mkDerivation {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.pythonPath = [];
|
||||
passthru = {
|
||||
pythonPath = [];
|
||||
qt = qt4;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Python bindings for Qt";
|
||||
|
42
pkgs/development/tools/java/visualvm/default.nix
Normal file
42
pkgs/development/tools/java/visualvm/default.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ stdenv, fetchzip, lib, makeWrapper, jdk, gtk }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "visualvm-1.3.8";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://java.net/projects/visualvm/downloads/download/release138/visualvm_138.zip";
|
||||
sha256 = "09wsi85z1g7bwyfhb37vw0gy3wl0j1cy35aj59rg7067q262gy1y";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
installPhase = ''
|
||||
rm bin/visualvm.exe
|
||||
|
||||
substituteInPlace etc/visualvm.conf \
|
||||
--replace "#visualvm_jdkhome=" "visualvm_jdkhome=" \
|
||||
--replace "/path/to/jdk" "${jdk.home}" \
|
||||
--replace 'visualvm_default_options="' 'visualvm_default_options="--laf com.sun.java.swing.plaf.gtk.GTKLookAndFeel -J-Dawt.useSystemAAFontSettings=lcd -J-Dswing.aatext=true '
|
||||
|
||||
cp -r . $out
|
||||
|
||||
# To get the native LAF, JVM needs to see GTK’s .so-s.
|
||||
wrapProgram $out/bin/visualvm \
|
||||
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ gtk ]}"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A visual interface for viewing information about Java applications";
|
||||
longDescription = ''
|
||||
VisualVM is a visual tool integrating several commandline JDK
|
||||
tools and lightweight profiling capabilities. Designed for both
|
||||
production and development time use, it further enhances the
|
||||
capability of monitoring and performance analysis for the Java
|
||||
SE platform.
|
||||
'';
|
||||
homepage = https://visualvm.java.net/;
|
||||
license = licenses.gpl2ClasspathPlus;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ michalrus ];
|
||||
};
|
||||
}
|
@ -3,21 +3,16 @@
|
||||
|
||||
let
|
||||
deps = import ./deps.nix { inherit fetchurl; };
|
||||
version = "1.3.0";
|
||||
version = "1.4.0";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/garbas/pypi2nix/archive/v${version}.tar.gz";
|
||||
sha256 = "0mk9v4s51jdrrcs78v3cm131pz3fdhjkd4cmmfn1kkcfcpqzw6j8";
|
||||
|
||||
sha256 = "0w5f10p4d4ppwg2plbbrmqwmi1ycgpaidyajza11c9svka014zrb";
|
||||
};
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "pypi2nix-${version}";
|
||||
srcs = with deps; [
|
||||
src
|
||||
pip
|
||||
click
|
||||
setuptools
|
||||
zcbuildout
|
||||
zcrecipeegg
|
||||
requests
|
||||
]; # six attrs effect ];
|
||||
buildInputs = [ python zip makeWrapper ];
|
||||
@ -26,17 +21,13 @@ in stdenv.mkDerivation rec {
|
||||
postUnpack = ''
|
||||
mkdir -p $out/pkgs
|
||||
|
||||
mv pip-*/pip $out/pkgs/pip
|
||||
mv click-*/click $out/pkgs/click
|
||||
mv setuptools-*/setuptools $out/pkgs/setuptools
|
||||
mv zc.buildout-*/src/zc $out/pkgs/zc
|
||||
mv zc.recipe.egg-*/src/zc/recipe $out/pkgs/zc/recipe
|
||||
# mv six-*/six.py $out/pkgs/
|
||||
# mv attrs-*/src/attr $out/pkgs/attrs
|
||||
# mv effect-*/effect $out/pkgs/effect
|
||||
mv requests-*/requests $out/pkgs/
|
||||
|
||||
if [ -z "$IN_NIX_SHELL" ]; then
|
||||
if [ "$IN_NIX_SHELL" != "1" ]; then
|
||||
if [ -e git-export ]; then
|
||||
mv git-export/src/pypi2nix $out/pkgs/pypi2nix
|
||||
else
|
||||
@ -48,9 +39,9 @@ in stdenv.mkDerivation rec {
|
||||
commonPhase = ''
|
||||
mkdir -p $out/bin
|
||||
|
||||
echo "#!${python}/bin/python3" > $out/bin/pypi2nix
|
||||
echo "import pypi2nix.cli" >> $out/bin/pypi2nix
|
||||
echo "pypi2nix.cli.main()" >> $out/bin/pypi2nix
|
||||
echo "#!${python.interpreter}" > $out/bin/pypi2nix
|
||||
echo "import pypi2nix.cli" >> $out/bin/pypi2nix
|
||||
echo "pypi2nix.cli.main()" >> $out/bin/pypi2nix
|
||||
|
||||
chmod +x $out/bin/pypi2nix
|
||||
|
||||
@ -81,6 +72,5 @@ in stdenv.mkDerivation rec {
|
||||
homepage = https://github.com/garbas/pypi2nix;
|
||||
description = "A tool that generates nix expressions for your python packages, so you don't have to.";
|
||||
maintainers = with stdenv.lib.maintainers; [ garbas ];
|
||||
platforms = with stdenv.lib.platforms; unix;
|
||||
};
|
||||
}
|
||||
|
@ -17,6 +17,9 @@ rec {
|
||||
zcrecipeeggVersion = "2.0.3";
|
||||
zcrecipeeggHash = "69a8ce276029390a36008150444aa0b4";
|
||||
|
||||
buildoutrequirementsVersion = "0.2.2";
|
||||
buildoutrequirementsHash = "0b4e53d871b167eaac0846942221af00";
|
||||
|
||||
wheelVersion = "0.29.0";
|
||||
wheelHash = "555a67e4507cedee23a0deb9651e452f";
|
||||
|
||||
@ -71,6 +74,11 @@ rec {
|
||||
md5 = zcrecipeeggHash;
|
||||
};
|
||||
|
||||
buildoutrequirements = fetchurl {
|
||||
url = "https://github.com/garbas/buildout.requirements/archive/1e2977e2d254184399401746736d2b17c912b350.tar.gz";
|
||||
md5 = buildoutrequirementsHash;
|
||||
};
|
||||
|
||||
wheel = fetchurl {
|
||||
url = "https://pypi.python.org/packages/c9/1d/bd19e691fd4cfe908c76c429fe6e4436c9e83583c4414b54f6c85471954a/wheel-${wheelVersion}.tar.gz";
|
||||
md5 = wheelHash;
|
||||
|
@ -3,15 +3,15 @@
|
||||
, tileMode ? false
|
||||
}:
|
||||
|
||||
let version = "0.18.0";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "crawl-${version}" + (if tileMode then "-tiles" else "");
|
||||
version = "0.18.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "crawl-ref";
|
||||
repo = "crawl-ref";
|
||||
rev = version;
|
||||
sha256 = "0mgg9lzy7lp5bhp8340a6c6qyz7yiz80wb39gknls8hvv0f6i0si";
|
||||
sha256 = "1cg5mxhx0lfhadls6n8avcpkjx08nqf1y085li97zqxl3gjaj64j";
|
||||
};
|
||||
|
||||
patches = [ ./crawl_purify.patch ];
|
||||
|
@ -5,7 +5,7 @@ let
|
||||
callPackage_i686 = pkgsi686Linux.newScope self;
|
||||
|
||||
self = rec {
|
||||
dwarf-fortress-original = callPackage_i686 ./game.nix { };
|
||||
dwarf-fortress-original = callPackage ./game.nix { };
|
||||
|
||||
dfhack = callPackage_i686 ./dfhack {
|
||||
inherit (pkgsi686Linux.perlPackages) XMLLibXML XMLLibXSLT;
|
||||
@ -14,7 +14,7 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
dwarf-fortress-unfuck = callPackage_i686 ./unfuck.nix { };
|
||||
dwarf-fortress-unfuck = callPackage ./unfuck.nix { };
|
||||
|
||||
dwarf-fortress = callPackage ./wrapper {
|
||||
themes = {
|
||||
|
@ -5,8 +5,9 @@
|
||||
}:
|
||||
|
||||
let
|
||||
dfVersion = "0.42.06";
|
||||
dfVersion = "0.43.03";
|
||||
version = "${dfVersion}-r1";
|
||||
|
||||
rev = "refs/tags/${version}";
|
||||
# revision of library/xml submodule
|
||||
xmlRev = "98cc1e01886aaea161d651cf97229ad08e9782b0";
|
||||
@ -14,7 +15,7 @@ let
|
||||
fakegit = writeScriptBin "git" ''
|
||||
#! ${stdenv.shell}
|
||||
if [ "$*" = "describe --tags --long" ]; then
|
||||
echo "${dfVersion}-unknown"
|
||||
echo "${version}-unknown"
|
||||
elif [ "$*" = "rev-parse HEAD" ]; then
|
||||
if [ "$(dirname "$(pwd)")" = "xml" ]; then
|
||||
echo "${xmlRev}"
|
||||
@ -35,19 +36,20 @@ in stdenv.mkDerivation rec {
|
||||
src = fetchgit {
|
||||
url = "https://github.com/DFHack/dfhack";
|
||||
inherit rev;
|
||||
sha256 = "1p234m8r84cdr4bx622hcd13mshnjc5bw7hdxhv18waaxvdpv6jh";
|
||||
sha256 = "0m5kqpaz0ypji4c32w0hhbsicvgvnjh56pqvq7af6pqqnyg1nzcx";
|
||||
};
|
||||
|
||||
patches = [ ./use-system-libraries.patch ];
|
||||
postPatch = "sed '1i#include <math.h>' -i plugins/3dveins.cpp";
|
||||
|
||||
nativeBuildInputs = [ cmake perl XMLLibXML XMLLibXSLT fakegit ];
|
||||
# we can't use native Lua; upstream uses private headers
|
||||
buildInputs = [ zlib jsoncpp protobuf tinyxml ];
|
||||
|
||||
cmakeFlags = [ "-DEXTERNAL_TINYXML=ON" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru = { inherit dfVersion; };
|
||||
passthru = { inherit version dfVersion; };
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Memory hacking library for Dwarf Fortress and a set of tools that use it";
|
||||
|
@ -1,5 +1,5 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 46fd565..254c3c0 100644
|
||||
index 956edfc..fb0e6bc 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -160,8 +160,6 @@ ELSEIF(MSVC)
|
||||
@ -11,7 +11,7 @@ index 46fd565..254c3c0 100644
|
||||
ADD_DEFINITIONS(-DLUA_BUILD_AS_DLL)
|
||||
|
||||
if(APPLE)
|
||||
@@ -182,11 +180,8 @@ else()
|
||||
@@ -182,10 +180,8 @@ else()
|
||||
set(ZLIB_ROOT /usr/lib/i386-linux-gnu)
|
||||
endif()
|
||||
find_package(ZLIB REQUIRED)
|
||||
@ -19,27 +19,31 @@ index 46fd565..254c3c0 100644
|
||||
include_directories(depends/lua/include)
|
||||
include_directories(depends/md5)
|
||||
-include_directories(depends/jsoncpp)
|
||||
-include_directories(depends/tinyxml)
|
||||
include_directories(depends/tthread)
|
||||
include_directories(${ZLIB_INCLUDE_DIRS})
|
||||
include_directories(depends/clsocket/src)
|
||||
|
||||
# Support linking against external tinyxml
|
||||
# If we find an external tinyxml, set the DFHACK_TINYXML variable to "tinyxml"
|
||||
diff --git a/depends/CMakeLists.txt b/depends/CMakeLists.txt
|
||||
index bf0345b..2a1a852 100644
|
||||
index d8442b1..b47dc2a 100644
|
||||
--- a/depends/CMakeLists.txt
|
||||
+++ b/depends/CMakeLists.txt
|
||||
@@ -1,10 +1,7 @@
|
||||
@@ -1,7 +1,6 @@
|
||||
#list depends here.
|
||||
add_subdirectory(lua)
|
||||
add_subdirectory(md5)
|
||||
-add_subdirectory(protobuf)
|
||||
-add_subdirectory(tinyxml)
|
||||
|
||||
# Don't build tinyxml if it's being externally linked against.
|
||||
if(NOT TinyXML_FOUND)
|
||||
@@ -9,7 +8,6 @@ if(NOT TinyXML_FOUND)
|
||||
endif()
|
||||
|
||||
add_subdirectory(tthread)
|
||||
-add_subdirectory(jsoncpp)
|
||||
# build clsocket static and only as a dependency. Setting those options here overrides its own default settings.
|
||||
OPTION(CLSOCKET_SHARED "Build clsocket lib as shared." OFF)
|
||||
OPTION(CLSOCKET_DEP_ONLY "Build for use inside other CMake projects as dependency." ON)
|
||||
diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt
|
||||
index 54300ec..128bfd1 100644
|
||||
index d3e3480..5d4b572 100644
|
||||
--- a/library/CMakeLists.txt
|
||||
+++ b/library/CMakeLists.txt
|
||||
@@ -223,10 +223,10 @@ LIST(APPEND PROJECT_SOURCES ${PROJECT_PROTO_SRCS})
|
||||
@ -55,24 +59,8 @@ index 54300ec..128bfd1 100644
|
||||
)
|
||||
|
||||
# Merge headers into sources
|
||||
@@ -269,12 +269,12 @@ IF(UNIX)
|
||||
ENDIF()
|
||||
|
||||
IF(APPLE)
|
||||
- SET(PROJECT_LIBS dl dfhack-md5 dfhack-tinyxml dfhack-tinythread)
|
||||
+ SET(PROJECT_LIBS dl dfhack-md5 tinyxml dfhack-tinythread)
|
||||
ELSEIF(UNIX)
|
||||
- SET(PROJECT_LIBS rt dl dfhack-md5 dfhack-tinyxml dfhack-tinythread)
|
||||
+ SET(PROJECT_LIBS rt dl dfhack-md5 tinyxml dfhack-tinythread)
|
||||
ELSE(WIN32)
|
||||
#FIXME: do we really need psapi?
|
||||
- SET(PROJECT_LIBS psapi dfhack-md5 dfhack-tinyxml dfhack-tinythread)
|
||||
+ SET(PROJECT_LIBS psapi dfhack-md5 tinyxml dfhack-tinythread)
|
||||
ENDIF()
|
||||
|
||||
ADD_LIBRARY(dfhack-version STATIC DFHackVersion.cpp)
|
||||
diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt
|
||||
index dd1c634..7bd8c17 100644
|
||||
index c24b940..afeb888 100644
|
||||
--- a/plugins/CMakeLists.txt
|
||||
+++ b/plugins/CMakeLists.txt
|
||||
@@ -47,11 +47,11 @@ STRING(REPLACE ".proto" ".pb.h" PROJECT_PROTO_HDRS "${PROJECT_PROTOS}")
|
||||
|
@ -3,10 +3,18 @@
|
||||
}:
|
||||
|
||||
let
|
||||
baseVersion = "42";
|
||||
patchVersion = "06";
|
||||
baseVersion = "43";
|
||||
patchVersion = "05";
|
||||
dfVersion = "0.${baseVersion}.${patchVersion}";
|
||||
libpath = lib.makeLibraryPath [ stdenv.cc.cc stdenv.glibc dwarf-fortress-unfuck SDL ];
|
||||
platform =
|
||||
if stdenv.system == "x86_64-linux" then "linux"
|
||||
else if stdenv.system == "i686-linux" then "linux32"
|
||||
else throw "Unsupported platform";
|
||||
sha256 =
|
||||
if stdenv.system == "x86_64-linux" then "1r0b96yrdf24m9476k5x7rmp3faxr0kfwwdf35agpvlb1qbi6v45"
|
||||
else if stdenv.system == "i686-linux" then "16l1lydpkbnl3zhz4i2snmjk7pps8vmw3zv0bjgr8dncbsrycd03"
|
||||
else throw "Unsupported platform";
|
||||
|
||||
in
|
||||
|
||||
@ -16,8 +24,8 @@ stdenv.mkDerivation {
|
||||
name = "dwarf-fortress-original-${dfVersion}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.bay12games.com/dwarves/df_${baseVersion}_${patchVersion}_linux.tar.bz2";
|
||||
sha256 = "17y9zq9xn1g0a501w4vkinb0n2yjiczsi2g7r6zggr41pxrqxpq3";
|
||||
url = "http://www.bay12games.com/dwarves/df_${baseVersion}_${patchVersion}_${platform}.tar.bz2";
|
||||
inherit sha256;
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
@ -39,11 +47,11 @@ stdenv.mkDerivation {
|
||||
|
||||
passthru = { inherit baseVersion patchVersion dfVersion; };
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
description = "A single-player fantasy game with a randomly generated adventure world";
|
||||
homepage = http://www.bay12games.com/dwarves;
|
||||
license = lib.licenses.unfreeRedistributable;
|
||||
platforms = [ "i686-linux" ];
|
||||
maintainers = with lib.maintainers; [ a1russell robbinch roconnor the-kenny abbradar ];
|
||||
license = licenses.unfreeRedistributable;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ a1russell robbinch roconnor the-kenny abbradar ];
|
||||
};
|
||||
}
|
||||
|
@ -5,13 +5,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cla-theme-${version}";
|
||||
version = "42.06-v22";
|
||||
version = "43.04-v23";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "DFgraphics";
|
||||
repo = "CLA";
|
||||
rev = version;
|
||||
sha256 = "1rr52j1wns17axc27fab0wn0338axzwkqp7cpa690kb3bl1y0pf5";
|
||||
sha256 = "0a88jkcli9iq0prg5w0xh1cyms0b7dnc9rdahn7wy7fyakyp7s27";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
cp -r data raw $out
|
||||
'';
|
||||
|
||||
passthru.dfVersion = "0.42.06";
|
||||
passthru.dfVersion = "0.43.05";
|
||||
|
||||
preferLocalBuild = true;
|
||||
|
||||
|
@ -5,13 +5,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "phoebus-theme-${version}";
|
||||
version = "42.06a";
|
||||
version = "43.03";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "DFgraphics";
|
||||
repo = "Phoebus";
|
||||
rev = version;
|
||||
sha256 = "1mkj882mf1lvjs2b7jxfazym9fl1y20slbfi1lgqzbp1872aaxi0";
|
||||
sha256 = "1mga5w3mks3bm6qch7azffr51g3q26za7hnas4qmxfs3m56bjav7";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
cp -r data raw $out
|
||||
'';
|
||||
|
||||
passthru.dfVersion = "0.42.06";
|
||||
passthru.dfVersion = "0.43.05";
|
||||
|
||||
preferLocalBuild = true;
|
||||
|
||||
|
@ -4,17 +4,15 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "dwarf_fortress_unfuck-2016-04-22";
|
||||
name = "dwarf_fortress_unfuck-2016-07-13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "svenstaro";
|
||||
repo = "dwarf_fortress_unfuck";
|
||||
rev = "dde40a2c619eac119b6db1bcd0c8d8612472f866";
|
||||
sha256 = "12bqh3k4wsk1c0bz2zly8h0ilbsdmsbwr9cdjc6i7liwg9906g7i";
|
||||
rev = "d6a4ee67e7b41bec1caa87548640643db35a6080";
|
||||
sha256 = "17p7jzmwd5z54wn6bxmic0i8y8mma3q359zcy3r9x2mp2wv1yd7p";
|
||||
};
|
||||
|
||||
postPatch = "sed '1i#include <math.h>' -i g_src/ttf_manager.cpp";
|
||||
|
||||
cmakeFlags = [
|
||||
"-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include"
|
||||
"-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2.out}/lib/gtk-2.0/include"
|
||||
@ -32,13 +30,13 @@ stdenv.mkDerivation {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.dfVersion = "0.42.06";
|
||||
passthru.dfVersion = "0.43.05";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Unfucked multimedia layer for Dwarf Fortress";
|
||||
homepage = https://github.com/svenstaro/dwarf_fortress_unfuck;
|
||||
license = licenses.free;
|
||||
platforms = [ "i686-linux" ];
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ abbradar ];
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, curl, cacert
|
||||
{ stdenv, curl, xidel, cacert
|
||||
# Begin download parameters
|
||||
, username ? ""
|
||||
, password ? ""
|
||||
@ -18,7 +18,7 @@
|
||||
stdenv.mkDerivation {
|
||||
name = "factorio.tar.gz";
|
||||
|
||||
buildInputs = [ curl ];
|
||||
buildInputs = [ curl xidel ];
|
||||
|
||||
inherit url loginUrl username password cacert;
|
||||
|
||||
|
@ -9,23 +9,34 @@ curl="curl \
|
||||
--max-redirs 20 \
|
||||
--retry 3 \
|
||||
--cacert $cacert/etc/ssl/certs/ca-bundle.crt \
|
||||
-b cookies \
|
||||
-c cookies \
|
||||
$curlOpts \
|
||||
$NIX_CURL_FLAGS"
|
||||
|
||||
# We don't want the password to be on any program's argv, as it may be
|
||||
# visible in /proc. Writing it to file with echo should be safe, since
|
||||
# it's a shell builtin.
|
||||
echo "password=$password" > password
|
||||
echo -n "$password" > password
|
||||
# Might as well hide the username as well.
|
||||
echo "username-or-email=$username" > username
|
||||
echo -n "$username" > username
|
||||
|
||||
# Get a CSRF token.
|
||||
csrf=$($curl $loginUrl | xidel - -e '//input[@id="csrf_token"]/@value')
|
||||
|
||||
# Log in. We don't especially care about the result, but let's check if login failed.
|
||||
$curl -c cookies -d @username -d @password $loginUrl -D headers > /dev/null
|
||||
$curl --data-urlencode csrf_token="$csrf" \
|
||||
--data-urlencode username_or_email@username \
|
||||
--data-urlencode password@password \
|
||||
-d action=Login \
|
||||
$loginUrl -D headers > /dev/null
|
||||
|
||||
if grep -q 'Location: /' headers; then
|
||||
if grep -q 'Location: https://' headers; then
|
||||
# Now download. We need --insecure for this, but the sha256 should cover us.
|
||||
$curl -b cookies --insecure --location $url > $out
|
||||
$curl --insecure --location $url > $out
|
||||
set +x
|
||||
else
|
||||
set +x
|
||||
echo 'Login failed'
|
||||
echo 'Please set username and password with config.nix,'
|
||||
echo 'or /etc/nix/nixpkgs-config.nix if on NixOS.'
|
||||
|
@ -1,12 +1,10 @@
|
||||
{ stdenv
|
||||
, fetchurl
|
||||
, buildPythonApplication
|
||||
, pyqt4
|
||||
, pythonPackages
|
||||
}:
|
||||
let
|
||||
version = "2.3.2";
|
||||
in buildPythonApplication rec {
|
||||
in pythonPackages.buildPythonApplication rec {
|
||||
name = "mnemosyne-${version}";
|
||||
src = fetchurl {
|
||||
url = "http://sourceforge.net/projects/mnemosyne-proj/files/mnemosyne/${name}/Mnemosyne-${version}.tar.gz";
|
||||
|
@ -4,13 +4,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ioquake3-git-${version}";
|
||||
version = "2016-04-05";
|
||||
version = "2016-08-11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ioquake";
|
||||
repo = "ioq3";
|
||||
rev = "1f6703821f11be9c711c6ee42371ab290dd12776";
|
||||
sha256 = "0jbn4lv85khfcmn1dc3mrx7zxldj3p4cggx85hdfpiwmnsjl4w67";
|
||||
rev = "1cf0b21cda562bade9152958f1525e5ac281ab9c";
|
||||
sha256 = "104yrgi9dnfb493pm9wvk2kn80nazcr1nllb5vd7di66jnvcjks0";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ which pkgconfig ];
|
||||
|
@ -1254,6 +1254,15 @@
|
||||
name = "libvpx1.deb";
|
||||
};
|
||||
}
|
||||
rec {
|
||||
name = "libvulkan1_1.0.3~git20160215-0.1+steamos5+srt1_amd64";
|
||||
md5 = "4d9ac7966de8160a13817291206b51a4";
|
||||
url = "mirror://steamrt/pool/main/v/vulkan-loader/libvulkan1_1.0.3~git20160215-0.1+steamos5+srt1_amd64.deb";
|
||||
source = fetchurl {
|
||||
inherit url md5;
|
||||
name = "libvulkan1.deb";
|
||||
};
|
||||
}
|
||||
rec {
|
||||
name = "libwind0-heimdal_1.6~git20120311.dfsg.1-2+srt4_amd64";
|
||||
md5 = "a1e5b4a8f8200feef82dab976f1b4e5d";
|
||||
@ -2993,6 +3002,15 @@
|
||||
name = "libvpx1.deb";
|
||||
};
|
||||
}
|
||||
rec {
|
||||
name = "libvulkan1_1.0.3~git20160215-0.1+steamos5+srt1_i386";
|
||||
md5 = "de2c787fcc443fb989b1862367a2e0c7";
|
||||
url = "mirror://steamrt/pool/main/v/vulkan-loader/libvulkan1_1.0.3~git20160215-0.1+steamos5+srt1_i386.deb";
|
||||
source = fetchurl {
|
||||
inherit url md5;
|
||||
name = "libvulkan1.deb";
|
||||
};
|
||||
}
|
||||
rec {
|
||||
name = "libwind0-heimdal_1.6~git20120311.dfsg.1-2+srt4_i386";
|
||||
md5 = "6265aab9d541aea8aad3496ebcc5908e";
|
||||
|
@ -9,7 +9,7 @@ let arch = if stdenv.system == "x86_64-linux" then "amd64"
|
||||
inputFile = writeText "steam-runtime.json" (builtins.toJSON input);
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
name = "steam-runtime-2016-03-03";
|
||||
name = "steam-runtime-2016-08-13";
|
||||
|
||||
nativeBuildInputs = [ python2 dpkg binutils ];
|
||||
|
||||
|
@ -1,14 +1,14 @@
|
||||
{ stdenv, fetchFromGitHub, scons, pkgconfig, SDL, lua, fftwFloat }:
|
||||
|
||||
let version = "91.3.328";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "the-powder-toy-${version}";
|
||||
version = "91.5.330";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "simtr";
|
||||
repo = "The-Powder-Toy";
|
||||
rev = "v${version}";
|
||||
sha256 = "0krg4d2m8cnfabm5qq7wr1y53h21i49xjcggzg98xjd0972zvfrk";
|
||||
sha256 = "19m7jyg3pnppymvr6lz454mjiw18hvldpdhi33596m9ji3nrq8x7";
|
||||
};
|
||||
|
||||
patches = [ ./fix-env.patch ];
|
||||
|
@ -5,13 +5,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "wesnoth";
|
||||
version = "1.13.4";
|
||||
version = "1.13.5";
|
||||
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/sourceforge/${pname}/${name}.tar.bz2";
|
||||
sha256 = "1ys25ijwphld11002cad9iz5mc5rqazmjn8866l8gcdfrrhk943s";
|
||||
sha256 = "15hvf06r7086plwmagh89plcxal2zql8k4mg0yf1zgwjvdz284dx";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
|
@ -3,7 +3,7 @@
|
||||
, cups, zlib, libjpeg, libusb1, pythonPackages, sane-backends, dbus, usbutils
|
||||
, net_snmp, polkit
|
||||
, bash, coreutils, utillinux
|
||||
, qtSupport ? true, qt4, pyqt4
|
||||
, qtSupport ? true, qt4
|
||||
, withPlugin ? false
|
||||
}:
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
, cups, zlib, libjpeg, libusb1, pythonPackages, sane-backends, dbus, usbutils
|
||||
, net_snmp, openssl, polkit
|
||||
, bash, coreutils, utillinux
|
||||
, qtSupport ? true, qt4, pyqt4
|
||||
, qtSupport ? true, qt4
|
||||
, withPlugin ? false
|
||||
}:
|
||||
|
||||
|
@ -1,18 +1,18 @@
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "M3D-Linux-2016-01-20";
|
||||
name = "M33-Linux-2016-06-23";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "donovan6000";
|
||||
repo = "M3D-Linux";
|
||||
rev = "d0bbb0379c52a88af55740a937edc92af162cdf6";
|
||||
sha256 = "0fwzb9mf04bw5wxabh3js7nir60kfq8iz7kcigw6c233aadwg03i";
|
||||
rev = "5c1b90c13d260771dac970b49fdc9f840fee5f4a";
|
||||
sha256 = "1bvbclkyfcv23vxb4s1zssvygklks1nhp4iwi4v90c1fvyz0356f";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 m3d-linux $out/bin/m3d-linux
|
||||
install -Dm755 90-m3d-local.rules $out/lib/udev/rules.d/90-m3d-local.rules
|
||||
install -Dm755 m33-linux $out/bin/m33-linux
|
||||
install -Dm755 90-micro-3d-local.rules $out/lib/udev/rules.d/90-micro-3d-local.rules
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
@ -30,9 +30,9 @@ in rec {
|
||||
};
|
||||
|
||||
unstable = fetchurl rec {
|
||||
version = "1.9.14";
|
||||
version = "1.9.16";
|
||||
url = "mirror://sourceforge/wine/wine-${version}.tar.bz2";
|
||||
sha256 = "0b65j8lc2axyc7lpa5rjr7vbjz4y78gkd7hhmvhra78pmwf9dgkz";
|
||||
sha256 = "010gjib4nhrn9j9q12v5irda8df8xp17a6v6qqskkadd79kxc871";
|
||||
inherit (stable) mono;
|
||||
gecko32 = fetchurl rec {
|
||||
version = "2.44";
|
||||
@ -48,7 +48,7 @@ in rec {
|
||||
|
||||
staging = fetchFromGitHub rec {
|
||||
inherit (unstable) version;
|
||||
sha256 = "0582ylrvl7racpb0il3wmbivb2d7lh6n3mymh19yw94qzgifwqrw";
|
||||
sha256 = "0rcy0i36jxv2akczd4sfrdmlsqxmj5v0wzvqb3xl8p2mldk9i8yl";
|
||||
owner = "wine-compholio";
|
||||
repo = "wine-staging";
|
||||
rev = "v${version}";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pythonPackages, lilypond, pyqt4, pygame }:
|
||||
{ stdenv, fetchurl, pythonPackages, lilypond}:
|
||||
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
name = "frescobaldi-${version}";
|
||||
|
@ -1,11 +1,11 @@
|
||||
{ stdenv, fetchurl }: let
|
||||
version = "1.0.0";
|
||||
version = "1.1.0";
|
||||
in stdenv.mkDerivation {
|
||||
name = "long-shebang-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/shlevy/long-shebang/releases/download/v1.0.0/long-shebang-1.0.0.tar.xz";
|
||||
sha256 = "15f5rmihj3r53rmalix1bn1agybbzrc3g2a9xzjyd4v3vfd2vckr";
|
||||
url = "https://github.com/shlevy/long-shebang/releases/download/v${version}/long-shebang-${version}.tar.xz";
|
||||
sha256 = "0rlyibf7pczjfsi91nl1n5vri2vqibmvyyy070jaw3wb0wjm565a";
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "android-udev-rules-${version}";
|
||||
version = "2016-04-26";
|
||||
version = "20160805";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "M0Rf30";
|
||||
repo = "android-udev-rules";
|
||||
rev = "9af6e552016392db35191142b599a5199cf8a9fa";
|
||||
sha256 = "1lvh7md6qz91q8jy9phnfxlb19s104lvsk75a5r07d8bjc4w9pxb";
|
||||
rev = version;
|
||||
sha256 = "0sdf3insqs73cdzmwl3lqy7nj82f1lprxd3vm0jh3qpf0sd1k93c";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/M0Rf30/android-udev-rules;
|
||||
homepage = "https://github.com/M0Rf30/android-udev-rules";
|
||||
description = "Android udev rules list aimed to be the most comprehensive on the net";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.gpl3;
|
||||
|
@ -1,27 +1,27 @@
|
||||
{ stdenv, fetchurl, flex, bison, linuxHeaders }:
|
||||
{ stdenv, lib, fetchurl, flex, bison, linuxHeaders, libtirpc, utillinux, nfs-utils, e2fsprogs
|
||||
, libxml2 }:
|
||||
|
||||
let
|
||||
version = "5.1.1";
|
||||
version = "5.1.2";
|
||||
name = "autofs-${version}";
|
||||
in stdenv.mkDerivation {
|
||||
inherit name;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/daemons/autofs/v5/${name}.tar.xz";
|
||||
sha256 = "1hr1f11wp538h7r298wpa5khfkhfs8va3p1kdixxhrgkkzpz13z0";
|
||||
sha256 = "031z64hmbzyllgvi72cw87755vnmafvsfwi0w21xksla10wxxdw8";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
configureFlags="--disable-move-mount --with-path=$PATH"
|
||||
export MOUNT=/var/run/current-system/sw/bin/mount
|
||||
export UMOUNT=/var/run/current-system/sw/bin/umount
|
||||
export MODPROBE=/var/run/current-system/sw/bin/modprobe
|
||||
# Grrr, rpcgen can't find cpp. (NIXPKGS-48)
|
||||
mkdir rpcgen
|
||||
echo "#! $shell" > rpcgen/rpcgen
|
||||
echo "exec $(type -tp rpcgen) -Y $(dirname $(type -tp cpp)) \"\$@\"" >> rpcgen/rpcgen
|
||||
chmod +x rpcgen/rpcgen
|
||||
export RPCGEN=$(pwd)/rpcgen/rpcgen
|
||||
configureFlags="--enable-force-shutdown --enable-ignore-busy --with-path=$PATH"
|
||||
|
||||
export MOUNT=${lib.getBin utillinux}/bin/mount
|
||||
export MOUNT_NFS=${lib.getBin nfs-utils}/bin/mount.nfs
|
||||
export UMOUNT=${lib.getBin utillinux}/bin/umount
|
||||
export MODPROBE=${lib.getBin utillinux}/bin/modprobe
|
||||
export E2FSCK=${lib.getBin e2fsprogs}/bin/fsck.ext2
|
||||
export E3FSCK=${lib.getBin e2fsprogs}/bin/fsck.ext3
|
||||
export E4FSCK=${lib.getBin e2fsprogs}/bin/fsck.ext4
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
@ -29,7 +29,9 @@ in stdenv.mkDerivation {
|
||||
#make install SUBDIRS="samples" # impure!
|
||||
'';
|
||||
|
||||
buildInputs = [ flex bison linuxHeaders ];
|
||||
buildInputs = [ linuxHeaders libtirpc libxml2 ];
|
||||
|
||||
nativeBuildInputs = [ flex bison ];
|
||||
|
||||
meta = {
|
||||
inherit version;
|
||||
|
@ -3,13 +3,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "btfs-${version}";
|
||||
version = "2.10";
|
||||
version = "2.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "johang";
|
||||
repo = "btfs";
|
||||
rev = "2eac5e70a1ed22fa0761b6357c54fd90eea02de6";
|
||||
sha256 = "146vgwn79dnbkkn35safga55lkwhvarkmilparmr26hjb56cs1dk";
|
||||
rev = "fe585ca285690579db50b1624cec81ae76279ba2";
|
||||
sha256 = "1vqya2k8cx5x7jfapl9vmmb002brwbsz4j5xs4417kzv3j2bsms9";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
@ -1,19 +0,0 @@
|
||||
{ stdenv, fetchurl, perl, buildLinux, ... } @ args:
|
||||
|
||||
import ./generic.nix (args // rec {
|
||||
version = "4.5.7";
|
||||
extraMeta.branch = "4.5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
||||
sha256 = "0azvh7lf9kak1xcs5f9smlvx4gkf45vyandizmxhx0zyjlhacw60";
|
||||
};
|
||||
|
||||
kernelPatches = args.kernelPatches;
|
||||
|
||||
features.iwlwifi = true;
|
||||
features.efiBootStub = true;
|
||||
features.needsCifsUtils = true;
|
||||
features.canDisableNetfilterConntrackHelpers = true;
|
||||
features.netfilterRPFilter = true;
|
||||
} // (args.argsOverride or {}))
|
@ -1,12 +1,12 @@
|
||||
{ stdenv, fetchurl, perl, buildLinux, ... } @ args:
|
||||
|
||||
import ./generic.nix (args // rec {
|
||||
version = "4.6.5";
|
||||
version = "4.6.6";
|
||||
extraMeta.branch = "4.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
||||
sha256 = "1i8ksv8w6dn86q54gzk230gxrylqx3m55x789d29q5balg456bby";
|
||||
sha256 = "1lx00j0z0rasmc87mcvqd1h6r4znb9c2q22jbs2mrissr5w05vgm";
|
||||
};
|
||||
|
||||
kernelPatches = args.kernelPatches;
|
||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Support to authenticate against PostgreSQL for PAM-enabled appliations";
|
||||
homepage = https://github.com/pam-pgsql/pam-pgsql;
|
||||
homepage = "https://github.com/pam-pgsql/pam-pgsql";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ abbradar ];
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ fetchFromGitHub, stdenv, autoconf, automake, libtool, coreutils, gawk
|
||||
{ fetchFromGitHub, stdenv, autoreconfHook, coreutils, gawk
|
||||
, configFile ? "all"
|
||||
|
||||
# Kernel dependencies
|
||||
@ -28,14 +28,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
patches = [ ./const.patch ./install_prefix.patch ];
|
||||
|
||||
buildInputs = [ autoconf automake libtool ];
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
preConfigure = ''
|
||||
./autogen.sh
|
||||
|
||||
substituteInPlace ./module/spl/spl-generic.c --replace /usr/bin/hostid hostid
|
||||
substituteInPlace ./module/spl/spl-module.c --replace /bin/mknod mknod
|
||||
|
||||
substituteInPlace ./module/spl/spl-generic.c --replace "PATH=/sbin:/usr/sbin:/bin:/usr/bin" "PATH=${coreutils}:${gawk}:/bin"
|
||||
substituteInPlace ./module/splat/splat-vnode.c --replace "PATH=/sbin:/usr/sbin:/bin:/usr/bin" "PATH=${coreutils}:/bin"
|
||||
substituteInPlace ./module/splat/splat-linux.c --replace "PATH=/sbin:/usr/sbin:/bin:/usr/bin" "PATH=${coreutils}:/bin"
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchgit, libmnl, kernel ? null }:
|
||||
{ stdenv, fetchurl, libmnl, kernel ? null }:
|
||||
|
||||
# module requires Linux >= 4.1 https://www.wireguard.io/install/#kernel-requirements
|
||||
assert kernel != null -> stdenv.lib.versionAtLeast kernel.version "4.1";
|
||||
@ -6,19 +6,20 @@ assert kernel != null -> stdenv.lib.versionAtLeast kernel.version "4.1";
|
||||
let
|
||||
name = "wireguard-unstable-${version}";
|
||||
|
||||
version = "2016-07-22";
|
||||
version = "2016-08-08";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://git.zx2c4.com/WireGuard";
|
||||
rev = "8e8bf6f848c324603827c0e57f0856d5866ac32d";
|
||||
sha256 = "11qrf9fxm6mkwjnjq7dgbisdric5w22cyfkqc6zx9fla2dz99mxk";
|
||||
src = fetchurl {
|
||||
url = "https://git.zx2c4.com/WireGuard/snapshot/WireGuard-experimental-0.0.20160808.tar.xz";
|
||||
sha256 = "0z9s9xi8dzkmjnki7ialf2haxb0mn2x5676sjwmjij1jfi9ypxhw";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://www.wireguard.io/;
|
||||
description = "Fast, modern, secure VPN tunnel";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
homepage = https://www.wireguard.io/;
|
||||
downloadPage = https://git.zx2c4.com/WireGuard/refs/;
|
||||
description = "Fast, modern, secure VPN tunnel";
|
||||
maintainers = with maintainers; [ ericsagnes ];
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
|
||||
module = stdenv.mkDerivation {
|
||||
@ -33,7 +34,6 @@ let
|
||||
INSTALL_MOD_PATH = "\${out}";
|
||||
|
||||
buildPhase = "make module";
|
||||
|
||||
};
|
||||
|
||||
tools = stdenv.mkDerivation {
|
||||
@ -50,7 +50,6 @@ let
|
||||
];
|
||||
|
||||
buildPhase = "make tools";
|
||||
|
||||
};
|
||||
|
||||
in if kernel == null
|
||||
|
@ -11,6 +11,10 @@ let
|
||||
scalaVersion = "2.11";
|
||||
sha256 = "0ykcjv5dz9i5bws9my2d60pww1g9v2p2nqr67h0i2xrjm7az8a6v";
|
||||
};
|
||||
"0.10" = { kafkaVersion = "0.10.0.1";
|
||||
scalaVersion = "2.11";
|
||||
sha256 = "0bdhzbhmm87a47162hyazcjmfibqg9r3ryzfjag7r0nxxmd64wrd";
|
||||
};
|
||||
};
|
||||
in
|
||||
|
||||
|
@ -1,18 +1,24 @@
|
||||
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
||||
{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "caddy-${version}";
|
||||
version = "0.8.3";
|
||||
rev = "e2234497b79603388b58ba226abb157aa4aaf065";
|
||||
version = "v0.9.0";
|
||||
rev = "f28af637327a4f12ae745284c519cfdeca5502ef";
|
||||
|
||||
goPackagePath = "github.com/mholt/caddy";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
subPackages = [ "caddy" ];
|
||||
|
||||
src = fetchgit {
|
||||
inherit rev;
|
||||
owner = "mholt";
|
||||
repo = "caddy";
|
||||
sha256 = "1snijkbz02yr7wij7bcmrj4257709sbklb3nhb5qmy95b9ssffm6";
|
||||
url = "https://github.com/mholt/caddy.git";
|
||||
sha256 = "1s7z0xbcw516i37pyj1wgxd9diqrifdghf97vs31ilbqs6z0nyls";
|
||||
};
|
||||
|
||||
buildFlagsArray = ''
|
||||
-ldflags=
|
||||
-X github.com/mholt/caddy/caddy/caddymain.gitTag=${version}
|
||||
'';
|
||||
|
||||
goDeps = ./deps.json;
|
||||
}
|
||||
|
@ -1,146 +1,182 @@
|
||||
[
|
||||
{
|
||||
"goPackagePath": "gopkg.in/yaml.v2",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://gopkg.in/yaml.v2",
|
||||
"rev": "a83829b6f1293c91addabc89d0571c246397bbf4",
|
||||
"sha256": "1m4dsmk90sbi17571h6pld44zxz7jc4lrnl4f27dpd1l8g5xvjhh"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "golang.org/x/crypto",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://go.googlesource.com/crypto",
|
||||
"rev": "575fdbe86e5dd89229707ebec0575ce7d088a4a6",
|
||||
"sha256": "1kgv1mkw9y404pk3lcwbs0vgl133mwyp294i18jg9hp10s5d56xa"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "golang.org/x/net",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://go.googlesource.com/net",
|
||||
"rev": "62ac18b461605b4be188bbc7300e9aa2bc836cd4",
|
||||
"sha256": "0lwwvbbwbf3yshxkfhn6z20gd45dkvnmw2ms36diiy34krgy402p"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/gorilla/websocket",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/gorilla/websocket",
|
||||
"rev": "a622679ebd7a3b813862379232f645f8e690e43f",
|
||||
"sha256": "1nc9jbcmgya1i6dmf6sbcqsnxi9hbjg6dz1z0k7zmc6xdwlq0y4q"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/miekg/dns",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/miekg/dns",
|
||||
"rev": "7e024ce8ce18b21b475ac6baf8fa3c42536bf2fa",
|
||||
"sha256": "0hlwb52lnnj3c6papjk9i5w5cjdw6r7c891v4xksnfvk1f9cy9kl"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/BurntSushi/toml",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/BurntSushi/toml",
|
||||
"rev": "056c9bc7be7190eaa7715723883caffa5f8fa3e4",
|
||||
"sha256": "0gkgkw04ndr5y7hrdy0r4v2drs5srwfcw2bs1gyas066hwl84xyw"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/hashicorp/go-syslog",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/hashicorp/go-syslog",
|
||||
"rev": "42a2b573b664dbf281bd48c3cc12c086b17a39ba",
|
||||
"sha256": "1j53m2wjyczm9m55znfycdvm4c8vfniqgk93dvzwy8vpj5gm6sb3"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/flynn/go-shlex",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/flynn/go-shlex",
|
||||
"rev": "3f9db97f856818214da2e1057f8ad84803971cff",
|
||||
"sha256": "1j743lysygkpa2s2gii2xr32j7bxgc15zv4113b0q9jhn676ysia"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/xenolf/lego",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/xenolf/lego",
|
||||
"rev": "ca19a90028e242e878585941c2a27c8f3b3efc25",
|
||||
"sha256": "1zkcsbdzbmfzk3kqmcj9l13li8sz228xhrw2wj3ab4a0w6drbw3x"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "gopkg.in/natefinch/lumberjack.v2",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://gopkg.in/natefinch/lumberjack.v2",
|
||||
"rev": "514cbda263a734ae8caac038dadf05f8f3f9f738",
|
||||
"sha256": "1v92v8vkip36l2fs6l5dpp655151hrijjc781cif658r8nf7xr82"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/shurcooL/sanitized_anchor_name",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/shurcooL/sanitized_anchor_name",
|
||||
"rev": "10ef21a441db47d8b13ebcc5fd2310f636973c77",
|
||||
"sha256": "1cnbzcf47cn796rcjpph1s64qrabhkv5dn9sbynsy7m9zdwr5f01"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "gopkg.in/square/go-jose.v1",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://gopkg.in/square/go-jose.v1",
|
||||
"rev": "40d457b439244b546f023d056628e5184136899b",
|
||||
"sha256": "0asa1kl1qbx0cyayk44jhxxff0awpkwiw6va7yzrzjzhfc5kvg7p"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/mholt/archiver",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/mholt/archiver",
|
||||
"rev": "85f054813ed511646b0ce5e047697e0651b8e1a4",
|
||||
"sha256": "0b38mrfm3rwgdi7hrp4gjhf0y0f6bw73qjkfrkafxjrdpdg7nyly"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/dustin/go-humanize",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/dustin/go-humanize",
|
||||
"rev": "8929fe90cee4b2cb9deb468b51fb34eba64d1bf0",
|
||||
"sha256": "1g155kxjh6hd3ibx41nbpj6f7h5bh54zgl9dr53xzg2xlxljgjy0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/jimstudt/http-authentication",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/jimstudt/http-authentication",
|
||||
"rev": "3eca13d6893afd7ecabe15f4445f5d2872a1b012",
|
||||
"sha256": "1drw3bhrxpjzwryqz9nq5s0yyjqyd42iym3bh1zjs5qsh401cq08"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/russross/blackfriday",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/russross/blackfriday",
|
||||
"rev": "d18b67ae0afd61dae240896eae1785f00709aa31",
|
||||
"sha256": "1l78hz8k1ixry5fjw29834jz1q5ysjcpf6kx2ggjj1s6xh0bfzvf"
|
||||
}
|
||||
{
|
||||
"goPackagePath": "github.com/BurntSushi/toml",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/BurntSushi/toml",
|
||||
"rev": "99064174e013895bbd9b025c31100bd1d9b590ca",
|
||||
"sha256": "058qrar8rvw3wb0ci1mf1axnqq2729cvv9zmdr4ms2nn9s97yiz9"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/dustin/go-humanize",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/dustin/go-humanize",
|
||||
"rev": "2fcb5204cdc65b4bec9fd0a87606bb0d0e3c54e8",
|
||||
"sha256": "1m2qgn5vh5m66ggmclgikvwc05np2r7sxgpvlj2jip5d61x29j5k"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/flynn/go-shlex",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/flynn/go-shlex",
|
||||
"rev": "3f9db97f856818214da2e1057f8ad84803971cff",
|
||||
"sha256": "1j743lysygkpa2s2gii2xr32j7bxgc15zv4113b0q9jhn676ysia"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/gorilla/websocket",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/gorilla/websocket",
|
||||
"rev": "a69d25be2fe2923a97c2af6849b2f52426f68fc0",
|
||||
"sha256": "1z09mff5yfdrw8vbylrgrick5m5hczjy8m2x6swdq8v062s45g3v"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/hashicorp/go-syslog",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/hashicorp/go-syslog",
|
||||
"rev": "42a2b573b664dbf281bd48c3cc12c086b17a39ba",
|
||||
"sha256": "1j53m2wjyczm9m55znfycdvm4c8vfniqgk93dvzwy8vpj5gm6sb3"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/jimstudt/http-authentication",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/jimstudt/http-authentication",
|
||||
"rev": "3eca13d6893afd7ecabe15f4445f5d2872a1b012",
|
||||
"sha256": "1drw3bhrxpjzwryqz9nq5s0yyjqyd42iym3bh1zjs5qsh401cq08"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/lucas-clemente/aes12",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/lucas-clemente/aes12",
|
||||
"rev": "5a3c52721c1e81aa8162601ac2342486525156d5",
|
||||
"sha256": "16z4h752na2d4sskjvbgi9bpwx874lpnzn6i13n33xjz599nps4y"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/lucas-clemente/fnv128a",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/lucas-clemente/fnv128a",
|
||||
"rev": "393af48d391698c6ae4219566bfbdfef67269997",
|
||||
"sha256": "1cvq0p0k86p668yz9rb3z98fz3f9phvbvqp6ilbasiy4y2x5w184"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/lucas-clemente/quic-go",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/lucas-clemente/quic-go",
|
||||
"rev": "61454ac85f1209c41ffcc000213a42f3e76346e5",
|
||||
"sha256": "0y7qmwlb93r0aq5m5qarc86550d75yx86pwv31wd2m0474yv7jk9"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/lucas-clemente/quic-go-certificates",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/lucas-clemente/quic-go-certificates",
|
||||
"rev": "9bb36d3159787cca26dcfa15e23049615e307ef8",
|
||||
"sha256": "146674p0rg0m4j8p33r5idn5j5k4a277fz1yzf87v5m8wf4694q5"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/mholt/caddy",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/mholt/caddy.git",
|
||||
"rev": "f28af637327a4f12ae745284c519cfdeca5502ef",
|
||||
"sha256": "1s7z0xbcw516i37pyj1wgxd9diqrifdghf97vs31ilbqs6z0nyls"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/miekg/dns",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/miekg/dns",
|
||||
"rev": "db96a2b759cdef4f11a34506a42eb8d1290c598e",
|
||||
"sha256": "0h5n4psd0p7q55jadgsgz2a1aj791yanrfj76avalh6aawvdpcm6"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/russross/blackfriday",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/russross/blackfriday",
|
||||
"rev": "93622da34e54fb6529bfb7c57e710f37a8d9cbd8",
|
||||
"sha256": "19y4cx4afm3fjj7w83g0wklbzqdjm7m1j5nq64l4yq8bi50y2iv2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/shurcooL/sanitized_anchor_name",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/shurcooL/sanitized_anchor_name",
|
||||
"rev": "10ef21a441db47d8b13ebcc5fd2310f636973c77",
|
||||
"sha256": "1cnbzcf47cn796rcjpph1s64qrabhkv5dn9sbynsy7m9zdwr5f01"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/xenolf/lego",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/xenolf/lego",
|
||||
"rev": "4c33bee13d438d72ea22be3ff806f8093fb8d072",
|
||||
"sha256": "191wx4jmi2hs2m233da0c7j1l80alf2493wmnixfphwwdik7qdvw"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "golang.org/x/crypto",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://go.googlesource.com/crypto",
|
||||
"rev": "7a1054f3ac58191481dc500077c6b060f5d6c7e5",
|
||||
"sha256": "1n34nalvan3mydjzi48hxa30mz0i3zcb2rynw07s39m457ab1412"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "golang.org/x/net",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://go.googlesource.com/net",
|
||||
"rev": "57bfaa875b96fb91b4766077f34470528d4b03e9",
|
||||
"sha256": "17gfka5dv1n7v0z49clyl3h0xm5w2qcaldyyzlar6rh6l14g2dq5"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "gopkg.in/natefinch/lumberjack.v2",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://gopkg.in/natefinch/lumberjack.v2",
|
||||
"rev": "514cbda263a734ae8caac038dadf05f8f3f9f738",
|
||||
"sha256": "1v92v8vkip36l2fs6l5dpp655151hrijjc781cif658r8nf7xr82"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "gopkg.in/square/go-jose.v1",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://gopkg.in/square/go-jose.v1",
|
||||
"rev": "e3f973b66b91445ec816dd7411ad1b6495a5a2fc",
|
||||
"sha256": "18icclnws5bz4xmlyybkxl38nhvyr990h88rvp4lp9n4r1fk3lhb"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "gopkg.in/yaml.v2",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://gopkg.in/yaml.v2",
|
||||
"rev": "e4d366fc3c7938e2958e662b4258c7a89e1f0e3e",
|
||||
"sha256": "1himz6569rcgn27q6sdrwvdldx45q2spgjb5cfihgb80zww8di8x"
|
||||
}
|
||||
}
|
||||
]
|
@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "emby-${version}";
|
||||
version = "3.0.6030";
|
||||
version = "3.0.6060";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/MediaBrowser/Emby/archive/${version}.tar.gz";
|
||||
sha256 = "14fmgb8pwj11n57c1rm002ylwqapdqywbpsv7z6skairbaf6ny09";
|
||||
sha256 = "1s895198x3kiqfznhp56vj67wld9fgh2wd7k8hw69mrasby0kmp3";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with pkgs; [
|
||||
|
@ -99,7 +99,7 @@ in stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = http://dspam.nuclearelephant.com/;
|
||||
homepage = "http://nuclearelephant.com/";
|
||||
description = "Community Driven Antispam Filter";
|
||||
license = licenses.agpl3;
|
||||
platforms = platforms.linux;
|
||||
|
@ -26,7 +26,7 @@ in stdenv.mkDerivation rec {
|
||||
description = "ONC RPC portmapper";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.unix;
|
||||
homepage = http://sourceforge.net/projects/rpcbind/;
|
||||
homepage = "http://sourceforge.net/projects/rpcbind/";
|
||||
maintainers = with maintainers; [ abbradar ];
|
||||
longDescription = ''
|
||||
Universal addresses to RPC program number mapper.
|
||||
|
@ -32,8 +32,8 @@ common = rec { # attributes common to both builds
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
|
||||
buildInputs = [
|
||||
ncurses openssl zlib pcre
|
||||
] ++ stdenv.lib.optionals stdenv.isLinux [ jemalloc libaio systemd ]
|
||||
ncurses openssl zlib pcre jemalloc
|
||||
] ++ stdenv.lib.optionals stdenv.isLinux [ libaio systemd ]
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ perl fixDarwinDylibNames cctools CoreServices ];
|
||||
|
||||
cmakeFlags = [
|
||||
@ -49,9 +49,18 @@ common = rec { # attributes common to both builds
|
||||
"-DWITH_ZLIB=system"
|
||||
"-DWITH_SSL=system"
|
||||
"-DWITH_PCRE=system"
|
||||
|
||||
# On Darwin without sandbox, CMake will find the system java and attempt to build with java support, but
|
||||
# then it will fail during the actual build. Let's just disable the flag explicitly until someone decides
|
||||
# to pass in java explicitly. This should have no effect on Linux.
|
||||
"-DCONNECT_WITH_JDBC=OFF"
|
||||
|
||||
# Same as above. Somehow on Darwin CMake decides that we support GSS even though we aren't provding the
|
||||
# library through Nix, and then breaks later on. This should have no effect on Linux.
|
||||
"-DPLUGIN_AUTH_GSSAPI=NO"
|
||||
"-DPLUGIN_AUTH_GSSAPI_CLIENT=NO"
|
||||
]
|
||||
++ optional stdenv.isDarwin "-DCURSES_LIBRARY=${ncurses.out}/lib/libncurses.dylib"
|
||||
++ optional (!stdenv.isLinux) "-DWITH_JEMALLOC=no" # bad build at least on Darwin
|
||||
;
|
||||
|
||||
preConfigure = ''
|
||||
|
@ -81,7 +81,7 @@ stdenv.mkDerivation rec {
|
||||
NIX_CFLAGS_LINK = [ "-lsystemd" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://uwsgi-docs.readthedocs.org/en/latest/;
|
||||
homepage = "http://uwsgi-docs.readthedocs.org/en/latest/";
|
||||
description = "A fast, self-healing and developer/sysadmin-friendly application container server coded in pure C";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ abbradar ];
|
||||
|
22
pkgs/servers/x11/xorg/xcb-util-xrm.nix
Normal file
22
pkgs/servers/x11/xorg/xcb-util-xrm.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{ stdenv, fetchurl, pkgconfig, m4, libxcb, xcbutil, libX11 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.0";
|
||||
name = "xcb-util-xrm-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/Airblader/xcb-util-xrm/releases/download/v${version}/${name}.tar.bz2";
|
||||
sha256 = "1h5vxwpd37dqfw9yj1l4zd9c5dj30r3g0szgysr6kd7xrqgaq04l";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig m4 libxcb xcbutil ]
|
||||
++ stdenv.lib.optional doCheck [ libX11 ];
|
||||
doCheck = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "XCB utility functions for the X resource manager";
|
||||
homepage = https://github.com/Airblader/xcb-util-xrm;
|
||||
license = licenses.mit; # X11 variant
|
||||
platforms = with platforms; unix;
|
||||
};
|
||||
}
|
@ -23,12 +23,12 @@ let
|
||||
ctlpath = lib.makeBinPath [ bash gnused gnugrep coreutils utillinux procps ];
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
version = "16.04";
|
||||
version = "16.08";
|
||||
name = "ejabberd-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.process-one.net/downloads/ejabberd/${version}/${name}.tgz";
|
||||
sha256 = "1hrcswk03x5x6f6xy8sac4ihhi6jcmsfp6449k3570j39vklz5ix";
|
||||
sha256 = "0dqikg0xgph8xjvaxc9r6cyq7k7c8l5jiqr3kyhricziyak9hmdl";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ fakegit ];
|
||||
@ -74,7 +74,7 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
outputHashMode = "recursive";
|
||||
outputHashAlgo = "sha256";
|
||||
outputHash = "08s1j0xa65xkrqw810wzgssngs67sz722jsvj7p02v4ra8jcl31f";
|
||||
outputHash = "040l336570lwxsvlli7kqaa18pz92jbf9105mx394ib62z72vvlp";
|
||||
};
|
||||
|
||||
configureFlags =
|
||||
@ -95,6 +95,7 @@ in stdenv.mkDerivation rec {
|
||||
preBuild = ''
|
||||
cp -r $deps deps
|
||||
chmod -R +w deps
|
||||
patchShebangs deps
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
|
@ -5,7 +5,7 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "primus-lib-20151204";
|
||||
name = "primus-lib-2015-04-28";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "amonakov";
|
||||
@ -28,7 +28,7 @@ stdenv.mkDerivation {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Low-overhead client-side GPU offloading";
|
||||
homepage = https://github.com/amonakov/primus;
|
||||
homepage = "https://github.com/amonakov/primus";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ abbradar ];
|
||||
|
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.virtualgl.org/;
|
||||
homepage = "http://www.virtualgl.org/";
|
||||
description = "X11 GL rendering in a remote computer with full 3D hw acceleration";
|
||||
license = licenses.free; # many parts under different free licenses
|
||||
platforms = platforms.linux;
|
||||
|
@ -1,11 +1,12 @@
|
||||
{ stdenv, fetchurl, buildPythonApplication, pythonPackages
|
||||
, python, cython, pkgconfig
|
||||
, xorg, gtk, glib, pango, cairo, gdk_pixbuf, atk, pycairo
|
||||
{ stdenv, fetchurl, pythonPackages, pkgconfig
|
||||
, xorg, gtk, glib, pango, cairo, gdk_pixbuf, atk
|
||||
, makeWrapper, xkbcomp, xorgserver, getopt, xauth, utillinux, which, fontsConf, xkeyboard_config
|
||||
, ffmpeg, x264, libvpx, libwebp
|
||||
, libfakeXinerama }:
|
||||
|
||||
buildPythonApplication rec {
|
||||
let
|
||||
inherit (pythonPackages) python cython buildPythonApplication;
|
||||
in buildPythonApplication rec {
|
||||
name = "xpra-0.17.4";
|
||||
namePrefix = "";
|
||||
src = fetchurl {
|
||||
|
@ -1,11 +1,10 @@
|
||||
{ stdenv, fetchurl, python, librsync, ncftp, gnupg, boto, makeWrapper
|
||||
, lockfile, setuptools, paramiko, pycrypto, ecdsa
|
||||
{ stdenv, fetchurl, pythonPackages, librsync, ncftp, gnupg, makeWrapper
|
||||
}:
|
||||
|
||||
let
|
||||
version = "0.7.07.1";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit (pythonPackages) boto ecdsa lockfile paramiko pycrypto python setuptools;
|
||||
in stdenv.mkDerivation {
|
||||
name = "duplicity-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user