commit
2f2c028d6c
@ -1,73 +0,0 @@ |
||||
{ lib, python3Packages, fetchFromGitHub, imagemagick, librsvg, gtk3, jhead |
||||
, gnome |
||||
|
||||
# Test requirements |
||||
, dbus, xvfb-run, xdotool |
||||
}: |
||||
|
||||
python3Packages.buildPythonApplication rec { |
||||
pname = "vimiv"; |
||||
version = "0.7.3"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "karlch"; |
||||
repo = "vimiv"; |
||||
rev = "v${version}"; |
||||
sha256 = "18dn81n8hcrqhrqfida34qz7a0ar9rz2rrmzsvyp54zc6nyvv1cn"; |
||||
}; |
||||
|
||||
testimages = fetchFromGitHub { |
||||
owner = "karlch"; |
||||
repo = "vimiv"; |
||||
rev = "6f4d1372b27f2065c56eafdb521d230d9bb8f4e2"; |
||||
sha256 = "0a3aybzpms0381dz9japhm4c7j5klhmw91prcac6zaww6x34nmxb"; |
||||
}; |
||||
|
||||
postPatch = '' |
||||
patchShebangs scripts/install_icons.sh |
||||
sed -i -e 's,/usr,,g' -e '/setup\.py/d' Makefile scripts/install_icons.sh |
||||
|
||||
sed -i \ |
||||
-e 's,/etc/vimiv/\(vimivrc\|keys\.conf\),'"$out"'&,g' \ |
||||
man/* vimiv/parser.py |
||||
|
||||
sed -i \ |
||||
-e 's!"mogrify"!"${imagemagick}/bin/mogrify"!g' \ |
||||
-e '/cmd *=/s!"jhead"!"${jhead}/bin/jhead"!g' \ |
||||
vimiv/imageactions.py |
||||
''; |
||||
|
||||
checkInputs = [ python3Packages.nose dbus.daemon xvfb-run xdotool ]; |
||||
buildInputs = [ gnome.adwaita-icon-theme librsvg ]; |
||||
propagatedBuildInputs = with python3Packages; [ pillow pygobject3 gtk3 ]; |
||||
|
||||
makeWrapperArgs = [ |
||||
"--prefix GI_TYPELIB_PATH : \"$GI_TYPELIB_PATH\"" |
||||
"--suffix XDG_DATA_DIRS : \"$XDG_ICON_DIRS:$out/share\"" |
||||
"--set GDK_PIXBUF_MODULE_FILE \"$GDK_PIXBUF_MODULE_FILE\"" |
||||
]; |
||||
|
||||
postCheck = '' |
||||
# Some tests assume that the directory only contains one vimiv directory |
||||
rm -rf vimiv.egg-info vimiv.desktop |
||||
|
||||
# Re-use the wrapper args from the main program |
||||
makeWrapper "$SHELL" run-tests $makeWrapperArgs |
||||
|
||||
cp -Rd --no-preserve=mode "$testimages/testimages" vimiv/testimages |
||||
HOME="$(mktemp -d)" PATH="$out/bin:$PATH" \ |
||||
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \ |
||||
--config-file=${dbus.daemon}/share/dbus-1/session.conf \ |
||||
./run-tests -c 'python tests/main_test.py && nosetests -vx' |
||||
''; |
||||
|
||||
postInstall = "make DESTDIR=\"$out\" install"; |
||||
|
||||
meta = { |
||||
homepage = "https://github.com/karlch/vimiv"; |
||||
description = "An image viewer with Vim-like keybindings"; |
||||
license = lib.licenses.mit; |
||||
platforms = lib.platforms.linux; |
||||
broken = true; |
||||
}; |
||||
} |
@ -1,19 +0,0 @@ |
||||
QT += core network widgets |
||||
|
||||
DEFINES += APP_ENVIRONMENT=\\\"production\\\" |
||||
DEFINES += APP_VERSION=\\\"@version@\\\" |
||||
|
||||
TARGET = toggldesktop |
||||
TEMPLATE = app |
||||
|
||||
SOURCES += *.cpp |
||||
HEADERS += *.h |
||||
FORMS += *.ui |
||||
RESOURCES += *.qrc |
||||
|
||||
target.path = $$PREFIX |
||||
|
||||
INSTALLS += target |
||||
|
||||
CONFIG += link_pkgconfig |
||||
PKGCONFIG += bugsnag-qt qxtglobalshortcut qt-oauth-lib toggl x11 xscrnsaver |
@ -1,157 +0,0 @@ |
||||
{ mkDerivation, lib, fetchFromGitHub, buildEnv, makeDesktopItem, runCommand, writeText, pkg-config |
||||
, cmake, qmake, cacert, jsoncpp, libX11, libXScrnSaver, lua, openssl, poco |
||||
, qtbase, qtwebengine, qtx11extras, sqlite }: |
||||
|
||||
let |
||||
name = "toggldesktop-${version}"; |
||||
version = "7.4.231"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "toggl"; |
||||
repo = "toggldesktop"; |
||||
rev = "v${version}"; |
||||
sha256 = "sha256-YaeeUlwz42i1ik5nUKSIy0IBrvu1moi95dBK2lKfGAY="; |
||||
}; |
||||
|
||||
bugsnag-qt = mkDerivation rec { |
||||
pname = "bugsnag-qt"; |
||||
version = "20180522.005732"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "alpakido"; |
||||
repo = "bugsnag-qt"; |
||||
rev = version; |
||||
sha256 = "sha256-2L7pxdQOniwrp1Kgq3Q8BFbjb2yGtGoKUiQC+B6tRgs="; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ qmake ]; |
||||
buildInputs = [ qtbase ]; |
||||
}; |
||||
|
||||
qxtglobalshortcut = mkDerivation rec { |
||||
pname = "qxtglobalshortcut"; |
||||
version = "f584471dada2099ba06c574bdfdd8b078c2e3550"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "hluk"; |
||||
repo = "qxtglobalshortcut"; |
||||
rev = version; |
||||
sha256 = "sha256-gb94rqK8j1mbD4YSXdOaxCdczZJFC6MU+iBsdf07wcc="; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ cmake ]; |
||||
buildInputs = [ qtbase qtx11extras ]; |
||||
}; |
||||
|
||||
qt-oauth-lib = mkDerivation rec { |
||||
pname = "qt-oauth-lib"; |
||||
version = "20190125.190943"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "alpakido"; |
||||
repo = "qt-oauth-lib"; |
||||
rev = version; |
||||
sha256 = "sha256-MjtNAN4F9JJFxM8MYpCv8tPe26RHtbXdq+lY49p+rn4="; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ qmake ]; |
||||
buildInputs = [ qtbase qtwebengine ]; |
||||
}; |
||||
|
||||
poco-pc = writeText "poco.pc" '' |
||||
Name: Poco |
||||
Description: ${poco.meta.description} |
||||
Version: ${poco.version} |
||||
Libs: -L${poco}/lib -lPocoDataSQLite -lPocoData -lPocoNet -lPocoNetSSL -lPocoCrypto -lPocoUtil -lPocoXML -lPocoFoundation |
||||
Cflags: -I${poco}/include/Poco |
||||
''; |
||||
|
||||
poco-pc-wrapped = runCommand "poco-pc-wrapped" {} '' |
||||
mkdir -p $out/lib/pkgconfig && ln -s ${poco-pc} $_/poco.pc |
||||
''; |
||||
|
||||
libtoggl = mkDerivation { |
||||
name = "libtoggl-${version}"; |
||||
inherit src version; |
||||
|
||||
sourceRoot = "source/src"; |
||||
|
||||
nativeBuildInputs = [ qmake pkg-config ]; |
||||
buildInputs = [ jsoncpp lua openssl poco poco-pc-wrapped sqlite libX11 ]; |
||||
|
||||
postPatch = '' |
||||
cat ${./libtoggl.pro} > libtoggl.pro |
||||
rm get_focused_window_{mac,windows}.cc |
||||
''; |
||||
}; |
||||
|
||||
toggldesktop = mkDerivation { |
||||
name = "${name}-unwrapped"; |
||||
inherit src version; |
||||
|
||||
sourceRoot = "source/src/ui/linux/TogglDesktop"; |
||||
|
||||
postPatch = '' |
||||
substituteAll ${./TogglDesktop.pro} TogglDesktop.pro |
||||
substituteInPlace toggl.cpp \ |
||||
--replace ./../../../toggl_api.h toggl_api.h |
||||
''; |
||||
|
||||
postInstall = '' |
||||
ln -s ${cacert}/etc/ssl/certs/ca-bundle.crt $out/cacert.pem |
||||
''; |
||||
|
||||
nativeBuildInputs = [ qmake pkg-config ]; |
||||
|
||||
buildInputs = [ |
||||
bugsnag-qt |
||||
libtoggl |
||||
qxtglobalshortcut |
||||
qtbase |
||||
qtwebengine |
||||
qt-oauth-lib |
||||
qtx11extras |
||||
libX11 |
||||
libXScrnSaver |
||||
]; |
||||
}; |
||||
|
||||
toggldesktop-icons = mkDerivation { |
||||
name = "${name}-icons"; |
||||
inherit (toggldesktop) src sourceRoot; |
||||
|
||||
installPhase = '' |
||||
for f in icons/*; do |
||||
mkdir -p $out/share/icons/hicolor/$(basename $f)/apps |
||||
mv $f/toggldesktop.png $_ |
||||
done |
||||
''; |
||||
}; |
||||
|
||||
toggldesktop-wrapped = runCommand "toggldesktop-wrapped" {} '' |
||||
mkdir -p $out/bin && ln -s ${toggldesktop}/toggldesktop $_ |
||||
''; |
||||
|
||||
desktopItem = makeDesktopItem rec { |
||||
categories = [ "Utility" ]; |
||||
desktopName = "Toggl"; |
||||
genericName = desktopName; |
||||
name = "toggldesktop"; |
||||
exec = "${toggldesktop-wrapped}/bin/toggldesktop"; |
||||
icon = "toggldesktop"; |
||||
}; |
||||
in |
||||
|
||||
buildEnv { |
||||
inherit name; |
||||
paths = [ desktopItem toggldesktop-icons toggldesktop-wrapped ]; |
||||
|
||||
meta = with lib; { |
||||
broken = true; # libtoggl is broken |
||||
description = "Client for Toggl time tracking service"; |
||||
homepage = "https://github.com/toggl/toggldesktop"; |
||||
license = licenses.bsd3; |
||||
maintainers = with maintainers; [ yana ]; |
||||
platforms = platforms.linux; |
||||
}; |
||||
} |
@ -1,20 +0,0 @@ |
||||
TARGET = toggl |
||||
TEMPLATE = lib |
||||
|
||||
SOURCES += *.cc |
||||
HEADERS += *.h |
||||
|
||||
headers.files = $$HEADERS |
||||
headers.path = $$PREFIX/include |
||||
target.path = $$PREFIX/lib |
||||
|
||||
INSTALLS += headers target |
||||
|
||||
CONFIG += create_prl create_pc link_pkgconfig |
||||
PKGCONFIG += jsoncpp openssl lua poco sqlite3 x11 |
||||
|
||||
QMAKE_PKGCONFIG_NAME = $$TARGET |
||||
QMAKE_PKGCONFIG_PREFIX = $$PREFIX |
||||
QMAKE_PKGCONFIG_LIBDIR = $$target.path |
||||
QMAKE_PKGCONFIG_INCDIR = $$headers.path |
||||
QMAKE_PKGCONFIG_DESTDIR = pkgconfig |
@ -1,27 +0,0 @@ |
||||
{ lib, stdenv, fetchurl, libxslt, glib, libxml2, telepathy-glib, python2, avahi, libsoup |
||||
, libuuid, openssl, pcre, sqlite, pkg-config }: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "telepathy-salut"; |
||||
version = "0.8.1"; |
||||
|
||||
src = fetchurl { |
||||
url = "https://telepathy.freedesktop.org/releases/telepathy-salut/telepathy-salut-${version}.tar.gz"; |
||||
sha256 = "13k112vrr3zghzr03pnbqc1id65qvpj0sn0virlbf4dmr2511fbh"; |
||||
}; |
||||
|
||||
# pcre needed because https://github.com/NixOS/nixpkgs/pull/15046 |
||||
buildInputs = [ glib libxml2 telepathy-glib avahi libsoup libuuid openssl |
||||
sqlite pcre python2 ]; |
||||
|
||||
nativeBuildInputs = [ libxslt pkg-config ]; |
||||
|
||||
configureFlags = [ "--disable-avahi-tests" ]; |
||||
|
||||
meta = with lib; { |
||||
description = "Link-local XMPP connection manager for Telepathy"; |
||||
platforms = platforms.gnu ++ platforms.linux; # Random choice |
||||
maintainers = [ ]; |
||||
broken = true; |
||||
}; |
||||
} |
@ -1,34 +0,0 @@ |
||||
{lib, stdenv, fetchurl, ncurses}: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "iptraf"; |
||||
version = "3.0.1"; |
||||
|
||||
src = fetchurl { |
||||
url = "ftp://iptraf.seul.org/pub/iptraf/iptraf-${version}tar.gz"; |
||||
sha256 = "12n059j9iihhpf6spmlaspqzxz3wqan6kkpnhmlj08jdijpnk84m"; |
||||
}; |
||||
|
||||
hardeningDisable = [ "format" ]; |
||||
|
||||
patchPhase = '' |
||||
sed -i -e 's,#include <linux/if_tr.h>,#include <netinet/if_tr.h>,' src/* |
||||
''; |
||||
|
||||
preConfigure = "cd src"; |
||||
|
||||
installPhase = '' |
||||
mkdir -p $out/bin |
||||
cp iptraf $out/bin |
||||
''; |
||||
|
||||
buildInputs = [ncurses]; |
||||
|
||||
meta = { |
||||
homepage = "http://iptraf.seul.org/"; |
||||
license = lib.licenses.gpl2Plus; |
||||
description = "Console-based network statistics utility for Linux"; |
||||
platforms = lib.platforms.linux; |
||||
broken = true; # required isdn headers have been removed from the linux kernel |
||||
}; |
||||
} |
@ -1,66 +0,0 @@ |
||||
{ lib, fetchFromGitHub, fetchpatch, libnotify, librsvg, killall |
||||
, gtk3, libappindicator-gtk3, substituteAll, syncthing, wrapGAppsHook |
||||
, gnome, buildPythonApplication, python-dateutil, pyinotify, pygobject3 |
||||
, bcrypt, gobject-introspection, gsettings-desktop-schemas |
||||
, pango, gdk-pixbuf, atk }: |
||||
|
||||
buildPythonApplication rec { |
||||
version = "0.9.4.4"; |
||||
pname = "syncthing-gtk"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "syncthing"; |
||||
repo = "syncthing-gtk"; |
||||
rev = "v${version}"; |
||||
sha256 = "0nc0wd7qvyri7841c3dd9in5d7367hys0isyw8znv5fj4c0a6v1f"; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ |
||||
wrapGAppsHook |
||||
# For setup hook populating GI_TYPELIB_PATH |
||||
gobject-introspection |
||||
pango gdk-pixbuf atk libnotify |
||||
]; |
||||
|
||||
buildInputs = [ |
||||
gtk3 librsvg libappindicator-gtk3 |
||||
libnotify gnome.adwaita-icon-theme |
||||
# Schemas with proxy configuration |
||||
gsettings-desktop-schemas |
||||
]; |
||||
|
||||
propagatedBuildInputs = [ |
||||
python-dateutil pyinotify pygobject3 bcrypt |
||||
]; |
||||
|
||||
patches = [ |
||||
(substituteAll { |
||||
src = ./paths.patch; |
||||
killall = "${killall}/bin/killall"; |
||||
syncthing = "${syncthing}/bin/syncthing"; |
||||
}) |
||||
]; |
||||
|
||||
# repo doesn't have any tests |
||||
doCheck = false; |
||||
|
||||
setupPyBuildFlags = [ "build_py" "--nofinddaemon" "--nostdownloader" ]; |
||||
|
||||
postPatch = '' |
||||
substituteInPlace setup.py --replace "version = get_version()" "version = '${version}'" |
||||
substituteInPlace scripts/syncthing-gtk --replace "/usr/share" "$out/share" |
||||
substituteInPlace syncthing_gtk/app.py --replace "/usr/share" "$out/share" |
||||
substituteInPlace syncthing_gtk/uisettingsdialog.py --replace "/usr/share" "$out/share" |
||||
substituteInPlace syncthing_gtk/wizard.py --replace "/usr/share" "$out/share" |
||||
substituteInPlace syncthing-gtk.desktop --replace "/usr/bin/syncthing-gtk" "$out/bin/syncthing-gtk" |
||||
''; |
||||
|
||||
meta = with lib; { |
||||
description = "GTK3 & python based GUI for Syncthing"; |
||||
homepage = "https://github.com/syncthing/syncthing-gtk"; |
||||
license = licenses.gpl2; |
||||
broken = true; |
||||
maintainers = with maintainers; [ ]; |
||||
platforms = syncthing.meta.platforms; |
||||
}; |
||||
} |
@ -1,67 +0,0 @@ |
||||
{stdenv, fetchurl, lib, gfortran |
||||
, ncurses |
||||
, withXaw3d ? false |
||||
#, withPVMlib ? false |
||||
, tcl, tk, withTk ? true |
||||
, gtk2, withGtk ? false # working ? |
||||
#, withF2c ? false |
||||
, ocaml, withOCaml ? true |
||||
#, withJava ? false |
||||
#, atlasMath, withAtlas ? false |
||||
, xlibsWrapper, withX ? true |
||||
}: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
version = "4.1.2"; |
||||
pname = "scilab"; |
||||
src = fetchurl { |
||||
url = "https://www.scilab.org/download/${version}/${pname}-${version}-src.tar.gz"; |
||||
sha256 = "1adk6jqlj7i3gjklvlf1j3il1nb22axnp4rvwl314an62siih0sc"; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ gfortran ]; |
||||
|
||||
buildInputs = [ ncurses ] |
||||
++ lib.optionals withGtk [ gtk2 ] |
||||
++ lib.optionals withOCaml [ ocaml ] |
||||
++ lib.optional withX xlibsWrapper; |
||||
|
||||
|
||||
/* |
||||
--with-atlas-library=DIR Atlas library files are in DIR and we use Atlas |
||||
*/ |
||||
configureFlags = [ |
||||
# use gcc C compiler and gnu Fortran compiler (g77 or gfortran) |
||||
"--with-gcc" "--with-g77" |
||||
# do not compile with PVM library |
||||
"--without-pvm" |
||||
# compile with GTK |
||||
(lib.enableFeature withGtk "gtk") |
||||
(lib.enableFeature withGtk "gtk2") |
||||
# compile with ocaml |
||||
(lib.withFeature withOCaml "ocaml") |
||||
# do not compile Java interface |
||||
"--without-java" |
||||
# use the X Window System |
||||
(lib.withFeature withX "x") |
||||
# compile with TCL/TK |
||||
] ++ lib.optionals withTk [ |
||||
"--with-tk" |
||||
"--with-tcl-library=${tcl}/lib" |
||||
"--with-tcl-include=${tcl}/include" |
||||
"--with-tk-library=${tk}/lib" |
||||
"--with-tk-include=${tk}/include" |
||||
] # use Xaw3d widgets given with Scilab |
||||
++ lib.optional (!withXaw3d) "--with-local-xaw" |
||||
; |
||||
|
||||
makeFlags = [ "all" ]; |
||||
|
||||
meta = { |
||||
homepage = "http://www.scilab.org/"; |
||||
description = "Scientific software package for numerical computations (Matlab lookalike)"; |
||||
# see http://www.scilab.org/legal |
||||
license = "SciLab"; |
||||
broken = true; |
||||
}; |
||||
} |
@ -1,14 +1,14 @@ |
||||
{ |
||||
"version": "15.0.1", |
||||
"repo_hash": "sha256-GMdR8drmnLR5KH/N0iyLmPi2sggeQX7PT2KP3QO5+/Y=", |
||||
"version": "15.0.2", |
||||
"repo_hash": "sha256-B5zD8yBY6d+jkIghuxShsR73+2X7Jd9mai1ouraEM44=", |
||||
"yarn_hash": "1a8k3x3b9sirzicqkwmr10m27n593iljfh8awdc9700akbj155lr", |
||||
"owner": "gitlab-org", |
||||
"repo": "gitlab", |
||||
"rev": "v15.0.1-ee", |
||||
"rev": "v15.0.2-ee", |
||||
"passthru": { |
||||
"GITALY_SERVER_VERSION": "15.0.1", |
||||
"GITALY_SERVER_VERSION": "15.0.2", |
||||
"GITLAB_PAGES_VERSION": "1.58.0", |
||||
"GITLAB_SHELL_VERSION": "14.3.0", |
||||
"GITLAB_WORKHORSE_VERSION": "15.0.1" |
||||
"GITLAB_WORKHORSE_VERSION": "15.0.2" |
||||
} |
||||
} |
||||
|
@ -1,35 +0,0 @@ |
||||
{ lib, stdenv, fetchFromGitHub, rustPlatform, cmake, libzip, gnupg, |
||||
# Darwin |
||||
libiconv, CoreFoundation, Security }: |
||||
|
||||
rustPlatform.buildRustPackage rec { |
||||
pname = "sit"; |
||||
version = "0.4.1"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "sit-fyi"; |
||||
repo = "sit"; |
||||
rev = "v${version}"; |
||||
sha256 = "06xkhlfix0h6di6cnvc4blbj3mjy90scbh89dvywbx16wjlc79pf"; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ cmake ]; |
||||
buildInputs = [ libzip gnupg ] |
||||
++ (lib.optionals stdenv.isDarwin [ libiconv CoreFoundation Security ]); |
||||
|
||||
preCheck = '' |
||||
export HOME=$(mktemp -d) |
||||
''; |
||||
|
||||
cargoSha256 = "1ghr01jcq12ddna5qadvjy6zbgqgma5nf0qv06ayxnra37d2l92l"; |
||||
|
||||
meta = with lib; { |
||||
description = "Serverless Information Tracker"; |
||||
homepage = "https://sit.fyi/"; |
||||
license = with licenses; [ asl20 /* or */ mit ]; |
||||
maintainers = with maintainers; [ dywedir yrashk ]; |
||||
# Upstream has not had a release in several years, and dependencies no |
||||
# longer compile with the latest Rust compiler. |
||||
broken = true; |
||||
}; |
||||
} |
@ -1,12 +0,0 @@ |
||||
source "$stdenv/setup" || exit 1 |
||||
|
||||
# XXX: Eventually we could consider building the PDF/PS files as well. |
||||
|
||||
echo "source is \`$src', report name is \`$reportName'" |
||||
|
||||
mkdir -p "$out/share/info" && \ |
||||
makeinfo -o "$out/share/info/${reportName}.info" "$src" |
||||
|
||||
# XXX: HTML output is apparently broken. |
||||
#mkdir -p "$out/share/doc/${reportName}" && \ |
||||
#makeinfo -o "$out/share/doc/${reportName}/html" --html --force "$src" |
@ -1,30 +0,0 @@ |
||||
{ fetchurl, stdenv, texinfo, revision, sha256 }: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
name = "r${toString revision}rs"; |
||||
src = fetchurl { |
||||
url = "http://swiss.csail.mit.edu/ftpdir/scm/${name}.txi"; |
||||
inherit sha256; |
||||
}; |
||||
|
||||
buildInputs = [ texinfo ]; |
||||
|
||||
# Tell the builder about the name of the report. |
||||
reportName = name; |
||||
|
||||
builder = ./builder.sh; |
||||
|
||||
meta = { |
||||
description = "Revised^${toString revision} Report on the Algorithmic Language Scheme"; |
||||
|
||||
longDescription = '' |
||||
This package contains the GNU Info version of the |
||||
the ${toString revision}th revision of the Report on the |
||||
Algorithmic Language Scheme. |
||||
''; |
||||
|
||||
homepage = "http://swiss.csail.mit.edu/~jaffer/Scheme"; |
||||
|
||||
broken = true; |
||||
}; |
||||
} |
@ -1,7 +0,0 @@ |
||||
{ fetchurl, stdenv, texinfo }: |
||||
|
||||
import ./common.nix { |
||||
inherit fetchurl stdenv texinfo; |
||||
revision = 4; |
||||
sha256 = "02jgy0lvi5ymkdxwjasg50zl03zmyj8sgnfxxnjnbmif72c0k4p8"; |
||||
} |
@ -1,7 +0,0 @@ |
||||
{ fetchurl, stdenv, texinfo }: |
||||
|
||||
import ./common.nix { |
||||
inherit fetchurl stdenv texinfo; |
||||
revision = 5; |
||||
sha256 = "1s2wcslwcgb9j89vjn7qs63qlnsv1481jaw1sgg33fgbgk6a8wrk"; |
||||
} |
@ -1,27 +0,0 @@ |
||||
{lib, stdenv, fetchurl}: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "STLport"; |
||||
version = "5.2.1"; |
||||
|
||||
src = fetchurl { |
||||
url = "mirror://sourceforge/stlport/${pname}-${version}.tar.bz2"; |
||||
sha256 = "1jbgak1m1qk7d4gyn1p2grbws2icsf7grbs3dh44ai9ck1xh0nvm"; |
||||
}; |
||||
|
||||
# fix hardcoded /usr/bin; not recognizing the standard --disable-static flag |
||||
configurePhase = '' |
||||
echo Preconf: build/Makefiles/gmake/*/sys.mak |
||||
for f in build/Makefiles/gmake/*/sys.mak; do |
||||
substituteInPlace "$f" --replace /usr/bin/ "" |
||||
done |
||||
./configure --prefix=$out |
||||
''; |
||||
|
||||
meta = { |
||||
description = "An implementation of the C++ Standard Library"; |
||||
homepage = "https://sourceforge.net/projects/stlport/"; |
||||
license = lib.licenses.free; # seems BSD-like |
||||
broken = true; # probably glibc-2.20 -related issue |
||||
}; |
||||
} |
@ -0,0 +1,47 @@ |
||||
{ lib |
||||
, aiofiles |
||||
, aiohttp |
||||
, aresponses |
||||
, buildPythonPackage |
||||
, fetchFromGitHub |
||||
, pytest-asyncio |
||||
, pytestCheckHook |
||||
, pythonOlder |
||||
}: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "aioskybell"; |
||||
version = "22.6.0"; |
||||
format = "setuptools"; |
||||
|
||||
disabled = pythonOlder "3.9"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "tkdrob"; |
||||
repo = pname; |
||||
rev = version; |
||||
hash = "sha256-2AsEVGZ4cA1GeoxtGFuvjZ05W4FjQ5GFSM8euu9iY4s=="; |
||||
}; |
||||
|
||||
propagatedBuildInputs = [ |
||||
aiohttp |
||||
aiofiles |
||||
]; |
||||
|
||||
checkInputs = [ |
||||
aresponses |
||||
pytest-asyncio |
||||
pytestCheckHook |
||||
]; |
||||
|
||||
pythonImportsCheck = [ |
||||
"aioskybell" |
||||
]; |
||||
|
||||
meta = with lib; { |
||||
description = "API client for Skybell doorbells"; |
||||
homepage = "https://github.com/tkdrob/aioskybell"; |
||||
license = with licenses; [ mit ]; |
||||
maintainers = with maintainers; [ fab ]; |
||||
}; |
||||
} |
@ -1,27 +0,0 @@ |
||||
{ lib, stdenv, fetchFromGitHub, buildGoPackage, CoreFoundation }: |
||||
|
||||
buildGoPackage rec { |
||||
pname = "tychus"; |
||||
version = "0.6.3"; |
||||
|
||||
goPackagePath = "github.com/devlocker/tychus"; |
||||
goDeps = ./deps.nix; |
||||
subPackages = []; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "devlocker"; |
||||
repo = "tychus"; |
||||
rev = "v${version}"; |
||||
sha256 = "02ybxjsfga89gpg0k21zmykhhnpx1vy3ny8fcwj0qsg73i11alvw"; |
||||
}; |
||||
|
||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ CoreFoundation ]; |
||||
|
||||
tags = [ "release" ]; |
||||
|
||||
meta = { |
||||
description = "Command line utility to live-reload your application"; |
||||
homepage = "https://github.com/devlocker/tychus"; |
||||
license = lib.licenses.mit; |
||||
}; |
||||
} |
@ -1,30 +0,0 @@ |
||||
# file generated from Gopkg.lock using dep2nix (https://github.com/nixcloud/dep2nix) |
||||
[ |
||||
{ |
||||
goPackagePath = "github.com/inconshreveable/mousetrap"; |
||||
fetch = { |
||||
type = "git"; |
||||
url = "https://github.com/inconshreveable/mousetrap"; |
||||
rev = "76626ae9c91c4f2a10f34cad8ce83ea42c93bb75"; |
||||
sha256 = "1mn0kg48xkd74brf48qf5hzp0bc6g8cf5a77w895rl3qnlpfw152"; |
||||
}; |
||||
} |
||||
{ |
||||
goPackagePath = "github.com/spf13/cobra"; |
||||
fetch = { |
||||
type = "git"; |
||||
url = "https://github.com/spf13/cobra"; |
||||
rev = "f91529fc609202eededff4de2dc0ba2f662240a3"; |
||||
sha256 = "10c3d5dp98rys134dnsl19ldj8bca183z91lj8rkbsy78qzrr9af"; |
||||
}; |
||||
} |
||||
{ |
||||
goPackagePath = "github.com/spf13/pflag"; |
||||
fetch = { |
||||
type = "git"; |
||||
url = "https://github.com/spf13/pflag"; |
||||
rev = "e57e3eeb33f795204c1ca35f56c44f83227c6e66"; |
||||
sha256 = "13mhx4i913jil32j295m3a36jzvq1y64xig0naadiz7q9ja011r2"; |
||||
}; |
||||
} |
||||
] |
@ -1,22 +0,0 @@ |
||||
{ lib, buildGoPackage, fetchFromGitHub }: |
||||
|
||||
buildGoPackage rec { |
||||
pname = "ws"; |
||||
version = "0.2.1"; |
||||
|
||||
goPackagePath = "github.com/hashrocket/ws"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "hashrocket"; |
||||
repo = "ws"; |
||||
rev = "e9404cb37e339333088b36f6a7909ff3be76931d"; |
||||
sha256 = "sha256-q6c761Evz7Q6nH1fHgEn2uCFokoN0OzqhyxIFn6mWqQ="; |
||||
}; |
||||
|
||||
meta = with lib; { |
||||
description = "websocket command line tool"; |
||||
homepage = "https://github.com/hashrocket/ws"; |
||||
license = licenses.mit; |
||||
platforms = platforms.unix; |
||||
}; |
||||
} |
@ -1,74 +0,0 @@ |
||||
{ stdenv, lib, fetchFromGitHub, nodejs, pkgs }: |
||||
|
||||
with lib; |
||||
|
||||
let |
||||
|
||||
# highlight.js is a git submodule of remark |
||||
highlightjs = fetchFromGitHub { |
||||
owner = "isagalaev"; |
||||
repo = "highlight.js"; |
||||
rev = "10b9500b67983f0a9c42d8ce8bf8e8c469f7078c"; |
||||
sha256 = "1yy8by15kfklw8lwh17z1swpj067q0skjjih12yawbryraig41m0"; |
||||
}; |
||||
|
||||
nodePackages = import ./nodepkgs.nix { |
||||
inherit pkgs; |
||||
inherit (stdenv.hostPlatform) system; |
||||
}; |
||||
|
||||
in |
||||
stdenv.mkDerivation rec { |
||||
pname = "remarkjs"; |
||||
|
||||
version = "0.7.0"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "gnab"; |
||||
repo = "remark"; |
||||
rev = "v${version}"; |
||||
sha256 = "sha256-zhHuW4pBqXQEBlSxuyvHKh+ftyIdcqpYgIZZHArUtns="; |
||||
}; |
||||
|
||||
buildInputs = [ nodejs ] ++ (with nodePackages; [ |
||||
marked |
||||
browserify |
||||
uglify-js |
||||
less |
||||
mocha |
||||
#mocha-phantomjs |
||||
should |
||||
sinon |
||||
jshint |
||||
shelljs |
||||
]); |
||||
|
||||
configurePhase = '' |
||||
mkdir -p node_modules/.bin |
||||
${concatStrings (map (dep: '' |
||||
test -d ${dep}/bin && (for b in $(ls ${dep}/bin); do |
||||
ln -sv -t node_modules/.bin ${dep}/bin/$b |
||||
done) |
||||
'') buildInputs)} |
||||
''; |
||||
|
||||
buildPhase = '' |
||||
substituteInPlace make.js --replace "target.test();" "" |
||||
substituteInPlace make.js --replace vendor/highlight.js ${highlightjs} |
||||
node make all |
||||
''; |
||||
|
||||
installPhase = '' |
||||
mkdir -p $out/lib |
||||
cp -v out/* $out/lib/ |
||||
''; |
||||
|
||||
meta = { |
||||
homepage = "https://remarkjs.com"; |
||||
description = "A simple, in-browser, markdown-driven slideshow tool"; |
||||
maintainers = [ ]; |
||||
platforms = lib.platforms.linux; |
||||
license = lib.licenses.mit; |
||||
broken = true; |
||||
}; |
||||
} |
@ -1,3 +0,0 @@ |
||||
#!/bin/sh -e |
||||
|
||||
node2nix --nodejs-10 -i pkgs.json -c nodepkgs.nix -e ../../node-packages/node-env.nix |
File diff suppressed because it is too large
Load Diff
@ -1,17 +0,0 @@ |
||||
# This file has been generated by node2nix 1.9.0. Do not edit! |
||||
|
||||
{pkgs ? import <nixpkgs> { |
||||
inherit system; |
||||
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-10_x"}: |
||||
|
||||
let |
||||
nodeEnv = import ../../node-packages/node-env.nix { |
||||
inherit (pkgs) stdenv lib python2 runCommand writeTextFile writeShellScript; |
||||
inherit pkgs nodejs; |
||||
libtool = if pkgs.stdenv.isDarwin then pkgs.darwin.cctools else null; |
||||
}; |
||||
in |
||||
import ./node-packages.nix { |
||||
inherit (pkgs) fetchurl nix-gitignore stdenv lib fetchgit; |
||||
inherit nodeEnv; |
||||
} |
@ -1,12 +0,0 @@ |
||||
[ |
||||
"marked" |
||||
, "browserify" |
||||
, "uglify-js" |
||||
, "less" |
||||
, "mocha" |
||||
, "mocha-phantomjs" |
||||
, "should" |
||||
, "sinon" |
||||
, "jshint" |
||||
, "shelljs" |
||||
] |
@ -1,82 +0,0 @@ |
||||
{ lib, stdenv, fetchurl, unzip, libGLU, libGL, libX11, SDL, openal, runtimeShell }: |
||||
stdenv.mkDerivation rec { |
||||
pname = "tremulous"; |
||||
version = "1.1.0"; |
||||
src1 = fetchurl { |
||||
url = "mirror://sourceforge/tremulous/${pname}-${version}.zip"; |
||||
sha256 = "11w96y7ggm2sn5ncyaffsbg0vy9pblz2av71vqp9725wbbsndfy7"; |
||||
}; |
||||
# http://tremulous.net/wiki/Client_versions |
||||
src2 = fetchurl { |
||||
url = "http://releases.mercenariesguild.net/client/mgclient_source_Release_1.011.tar.gz"; |
||||
sha256 = "1vrsi7va7hdp8k824663s1pyw9zpsd4bwwr50j7i1nn72b0v9a26"; |
||||
}; |
||||
src3 = fetchurl { |
||||
url = "http://releases.mercenariesguild.net/tremded/mg_tremded_source_1.01.tar.gz"; |
||||
sha256 = "1njrqlhzjvy9myddzkagszwdcf3m4h08wip888w2rmbshs6kz6ql"; |
||||
}; |
||||
nativeBuildInputs = [ unzip ]; |
||||
buildInputs = [ libGLU libGL libX11 SDL openal ]; |
||||
unpackPhase = '' |
||||
unzip $src1 |
||||
cd tremulous |
||||
tar xvf $src2 |
||||
mkdir mg_tremded_source |
||||
cd mg_tremded_source |
||||
tar xvf $src3 |
||||
cd .. |
||||
''; |
||||
patches = [ ./parse.patch ]; |
||||
patchFlags = [ "-p" "0" ]; |
||||
NIX_LD_FLAGS = '' |
||||
-rpath ${stdenv.cc}/lib |
||||
-rpath ${stdenv.cc}/lib64 |
||||
''; |
||||
buildPhase = '' |
||||
cd Release_1.011 |
||||
make |
||||
cd .. |
||||
cd mg_tremded_source |
||||
make |
||||
cd .. |
||||
''; |
||||
installPhase = '' |
||||
arch=$(uname -m | sed -e s/i.86/x86/) |
||||
mkdir -p $out/opt/tremulous |
||||
cp -v Release_1.011/build/release-linux-$arch/tremulous.$arch $out/opt/tremulous/ |
||||
cp -v mg_tremded_source/build/release-linux-$arch/tremded.$arch $out/opt/tremulous/ |
||||
cp -rv base $out/opt/tremulous |
||||
mkdir -p $out/bin |
||||
for b in tremulous tremded |
||||
do |
||||
cat << EOF > $out/bin/$b |
||||
#!${runtimeShell} |
||||
cd $out/opt/tremulous |
||||
exec ./$b.$arch "\$@" |
||||
EOF |
||||
chmod +x $out/bin/$b |
||||
done |
||||
''; |
||||
dontPatchELF = true; |
||||
meta = with lib; { |
||||
description = "A game that blends a team based FPS with elements of an RTS"; |
||||
longDescription = '' |
||||
Tremulous is a free, open source game that blends a team based FPS with |
||||
elements of an RTS. Players can choose from 2 unique races, aliens and |
||||
humans. Players on both teams are able to build working structures |
||||
in-game like an RTS. These structures provide many functions, the most |
||||
important being spawning. The designated builders must ensure there are |
||||
spawn structures or other players will not be able to rejoin the game |
||||
after death. Other structures provide automated base defense (to some |
||||
degree), healing functions and much more... |
||||
''; |
||||
homepage = "http://www.tremulous.net"; |
||||
license = with licenses; [ |
||||
gpl2 |
||||
cc-by-sa-25 /* media */ |
||||
]; |
||||
maintainers = with maintainers; [ astsmtl ]; |
||||
platforms = platforms.linux; |
||||
broken = true; |
||||
}; |
||||
} |
@ -1,21 +0,0 @@ |
||||
diff -ruN Release_1.011-old/src/qcommon/parse.c Release_1.011/src/qcommon/parse.c
|
||||
--- Release_1.011-old/src/qcommon/parse.c 2011-12-02 19:11:49.307368651 -0500
|
||||
+++ Release_1.011/src/qcommon/parse.c 2011-12-02 19:13:27.556836387 -0500
|
||||
@@ -981,7 +981,7 @@
|
||||
{
|
||||
if (*string == '\"')
|
||||
{
|
||||
- strcpy(string, string+1);
|
||||
+ memmove(string, string+1, strlen(string));
|
||||
}
|
||||
if (string[strlen(string)-1] == '\"')
|
||||
{
|
||||
@@ -1784,7 +1784,7 @@
|
||||
if ((*ptr == '\\' || *ptr == '/') &&
|
||||
(*(ptr+1) == '\\' || *(ptr+1) == '/'))
|
||||
{
|
||||
- strcpy(ptr, ptr+1);
|
||||
+ memmove(ptr, ptr+1, strlen(ptr));
|
||||
}
|
||||
else
|
||||
{
|
@ -1,59 +0,0 @@ |
||||
{ lib, stdenv, fetchurl, ncurses, flex, bison, autoconf, automake, m4, coreutils }: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "zangband"; |
||||
version = "2.7.4b"; |
||||
|
||||
src = fetchurl { |
||||
url = "mirror://sourceforge/project/${pname}/${pname}-src/${version}/${pname}-${version}.tar.gz"; |
||||
sha256 = "0kkz6f9myhjnr3308sdab8q186rd55lapvcp38w8qmakdbhc828j"; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ autoconf automake ]; |
||||
buildInputs = [ |
||||
ncurses flex bison m4 |
||||
]; |
||||
|
||||
preConfigure = '' |
||||
sed -re 's/ch(own|grp|mod)/true/' -i lib/*/makefile.zb makefile.in |
||||
sed -e '/FIXED_PATHS/d' -i src/z-config.h |
||||
autoconf |
||||
''; |
||||
|
||||
preInstall = '' |
||||
mkdir -p $out/share/games/zangband |
||||
mkdir -p $out/share/man |
||||
mkdir -p $out/bin |
||||
''; |
||||
|
||||
postInstall = '' |
||||
mv $out/bin/zangband $out/bin/.zangband.real |
||||
echo '#! ${stdenv.shell} |
||||
PATH="$PATH:${coreutils}/bin" |
||||
|
||||
ZANGBAND_PATH="$HOME/.zangband" |
||||
ORIG_PATH="'$out'"/share/games/zangband |
||||
mkdir -p "$ZANGBAND_PATH" |
||||
cd "$ZANGBAND_PATH" |
||||
for i in $(find "$ORIG_PATH" -type f); do |
||||
REL_PATH="''${i#$ORIG_PATH/}" |
||||
mkdir -p "$(dirname "$REL_PATH")" |
||||
ln -s "$i" "$REL_PATH" &>/dev/null |
||||
done |
||||
mkdir -p lib/user lib/save |
||||
for i in lib/*/*.raw; do |
||||
test -L "$i" && rm "$i"; |
||||
done |
||||
for i in $(find lib -type l); do if ! test -e $(readlink "$i"); then rm "$i"; fi; done; |
||||
export ANGBAND_PATH="$PWD" |
||||
"'$out'/bin/.zangband.real" "$@" |
||||
' > $out/bin/zangband |
||||
chmod +x $out/bin/zangband |
||||
''; |
||||
|
||||
meta = { |
||||
description = "Rogue-like game"; |
||||
license = lib.licenses.unfree; |
||||
broken = true; # broken in runtime, will not get pass character generation |
||||
}; |
||||
} |
@ -1,26 +0,0 @@ |
||||
{ lib, stdenv, fetchurl, pkg-config, automake, autoconf, udisks1, dbus-glib, glib, libconfuse }: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "udisks-glue"; |
||||
version = "1.3.5"; |
||||
|
||||
src = fetchurl { |
||||
url = "https://github.com/fernandotcl/udisks-glue/archive/release-${version}.tar.gz"; |
||||
sha256 = "317d25bf249278dc8f6a5dcf18f760512427c772b9afe3cfe34e6e1baa258176"; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ pkg-config automake autoconf ]; |
||||
buildInputs = [ udisks1 dbus-glib glib libconfuse ]; |
||||
|
||||
preConfigure = "sh autogen.sh"; |
||||
|
||||
meta = { |
||||
homepage = "https://github.com/fernandotcl/udisks-glue"; |
||||
description = "A tool to associate udisks events to user-defined actions"; |
||||
platforms = lib.platforms.linux; |
||||
maintainers = with lib.maintainers; [ pSub ]; |
||||
license = lib.licenses.bsd2; |
||||
broken = true; |
||||
hydraPlatforms = [ ]; |
||||
}; |
||||
} |
@ -1,78 +0,0 @@ |
||||
{ lib |
||||
, stdenv |
||||
, fetchurl |
||||
, pkg-config |
||||
, sg3_utils |
||||
, udev |
||||
, glib |
||||
, dbus |
||||
, dbus-glib |
||||
, polkit |
||||
, parted |
||||
, lvm2 |
||||
, libatasmart |
||||
, intltool |
||||
, libuuid |
||||
, mdadm |
||||
, libxslt |
||||
, docbook_xsl |
||||
, util-linux |
||||
, libgudev |
||||
}: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "udisks"; |
||||
version = "1.0.5"; |
||||
|
||||
src = fetchurl { |
||||
url = "https://hal.freedesktop.org/releases/udisks-${version}.tar.gz"; |
||||
sha256 = "0wbg3jrv8limdgvcygf4dqin3y6d30y9pcmmk711vq571vmq5v7j"; |
||||
}; |
||||
|
||||
patches = [ ./purity.patch ./no-pci-db.patch ./glibc.patch ]; |
||||
|
||||
preConfigure = |
||||
'' |
||||
configureFlagsArray+=(--with-systemdsystemunitdir=$out/lib/systemd/system) |
||||
''; |
||||
|
||||
postPatch = |
||||
'' |
||||
sed -e 's,/sbin/mdadm,${mdadm}&,g' -e "s,@slashlibdir@,$out/lib,g" -i data/80-udisks.rules |
||||
|
||||
substituteInPlace src/main.c --replace \ |
||||
"/sbin:/bin:/usr/sbin:/usr/bin" \ |
||||
"${util-linux}/bin:${mdadm}/sbin:/run/current-system/sw/bin:/run/current-system/sw/bin" |
||||
''; |
||||
|
||||
buildInputs = |
||||
[ |
||||
sg3_utils |
||||
udev |
||||
glib |
||||
dbus |
||||
dbus-glib |
||||
polkit |
||||
parted |
||||
libgudev |
||||
lvm2 |
||||
libatasmart |
||||
intltool |
||||
libuuid |
||||
libxslt |
||||
docbook_xsl |
||||
]; |
||||
|
||||
nativeBuildInputs = [ pkg-config ]; |
||||
|
||||
configureFlags = [ "--localstatedir=/var" "--enable-lvm2" ]; |
||||
|
||||
meta = with lib; { |
||||
homepage = "http://www.freedesktop.org/wiki/Software/udisks"; |
||||
description = "A daemon and command-line utility for querying and manipulating storage devices"; |
||||
platforms = platforms.linux; |
||||
license = with licenses; [ gpl2 lgpl2Plus ]; |
||||
broken = true; |
||||
hydraPlatforms = [ ]; |
||||
}; |
||||
} |
@ -1,25 +0,0 @@ |
||||
From 0aa652a7b257f98f9e8e7dc7b0ddc9bc62377d09 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Rostovtsev <tetromino@gentoo.org>
|
||||
Date: Fri, 29 May 2015 21:09:39 -0400
|
||||
Subject: [PATCH] Bug 90778 - fix build with newer glibc versions
|
||||
|
||||
https://bugs.freedesktop.org/show_bug.cgi?id=90778
|
||||
---
|
||||
src/helpers/job-drive-detach.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/helpers/job-drive-detach.c b/src/helpers/job-drive-detach.c
|
||||
index eeafcab..d122a1f 100644
|
||||
--- a/src/helpers/job-drive-detach.c
|
||||
+++ b/src/helpers/job-drive-detach.c
|
||||
@@ -18,6 +18,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
+#include <sys/stat.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
--
|
||||
2.4.2
|
||||
|
@ -1,13 +0,0 @@ |
||||
Systemd no longer has the pci-db program.
|
||||
|
||||
diff -ru -x '*~' udisks-1.0.4-orig/data/80-udisks.rules udisks-1.0.4/data/80-udisks.rules
|
||||
--- udisks-1.0.4-orig/data/80-udisks.rules 2011-08-25 23:31:20.000000000 +0200
|
||||
+++ udisks-1.0.4/data/80-udisks.rules 2012-12-13 13:06:52.189650854 +0100
|
||||
@@ -3,7 +3,6 @@
|
||||
|
||||
# import names for PCI storage controllers
|
||||
#
|
||||
-SUBSYSTEM=="pci", ACTION=="add|change", ENV{ID_MODEL_FROM_DATABASE}=="", ATTR{class}=="0x01*", IMPORT{program}="pci-db %p"
|
||||
|
||||
# Set eSATA port type for known eSATA CardBus adapters - first we want to ensure
|
||||
# the device is on a cardbus controller (upper PCI device) - then we check
|
@ -1,57 +0,0 @@ |
||||
diff --git a/data/80-udisks.rules b/data/80-udisks.rules
|
||||
index 6720394..60b67ed 100644
|
||||
--- a/data/80-udisks.rules
|
||||
+++ b/data/80-udisks.rules
|
||||
@@ -23,7 +23,7 @@ LABEL="ata_port_cardbus_end"
|
||||
# this is the case we can trigger a 'change' on the sas_expander device
|
||||
# when the bsg device appears)
|
||||
#
|
||||
-SUBSYSTEM=="sas_expander", ACTION=="add|change", IMPORT{program}="udisks-probe-sas-expander /sys/%p"
|
||||
+SUBSYSTEM=="sas_expander", ACTION=="add|change", IMPORT{program}="@slashlibdir@/udev/udisks-probe-sas-expander /sys/%p"
|
||||
|
||||
##############################################################################################################
|
||||
|
||||
@@ -54,7 +54,7 @@ ENV{DM_UDEV_DISABLE_DISK_RULES_FLAG}=="1", GOTO="udisks_end"
|
||||
# import UDISKS_DM_* and UDISKS_LVM2_* properties - the long-term plan is to make the lvm2 and
|
||||
# device-mapper packages provide this information
|
||||
#
|
||||
-KERNEL=="dm-*", IMPORT{program}="udisks-dm-export %M %m"
|
||||
+KERNEL=="dm-*", IMPORT{program}="@slashlibdir@/udev/udisks-dm-export %M %m"
|
||||
|
||||
# Make udevd synthesize a 'change' uevent when last opener of a rw-fd closes the fd - this
|
||||
# should be part of the device-mapper rules
|
||||
@@ -63,7 +63,7 @@ KERNEL=="dm-*", OPTIONS+="watch"
|
||||
##############################################################################################################
|
||||
# Probe LVM2 Physical Volumes - this will eventually be part of the LVM2 package
|
||||
|
||||
-ENV{ID_FS_TYPE}=="LVM2_member", TEST=="/lib/udev/udisks-lvm-pv-export", IMPORT{program}="udisks-lvm-pv-export $env{ID_FS_UUID}"
|
||||
+ENV{ID_FS_TYPE}=="LVM2_member", TEST=="@slashlibdir@/udev/udisks-lvm-pv-export", IMPORT{program}="@slashlibdir@/udev/udisks-lvm-pv-export $env{ID_FS_UUID}"
|
||||
|
||||
##############################################################################################################
|
||||
|
||||
@@ -85,7 +85,7 @@ KERNEL=="sr*", ENV{ID_CDROM_MEDIA_TRACK_COUNT_DATA}=="", GOTO="probe_parttable_e
|
||||
|
||||
# scan for partition tables both on whole-disk and partitions
|
||||
#
|
||||
-IMPORT{program}="udisks-part-id $tempnode"
|
||||
+IMPORT{program}="@slashlibdir@/udev/udisks-part-id $tempnode"
|
||||
|
||||
LABEL="probe_parttable_end"
|
||||
|
||||
@@ -109,13 +109,13 @@ LABEL="md_end"
|
||||
#
|
||||
|
||||
# USB ATA enclosures with a SAT layer
|
||||
-KERNEL=="sd*[!0-9]", ATTR{removable}=="0", ENV{ID_BUS}=="usb", ENV{DEVTYPE}=="disk", IMPORT{program}="udisks-probe-ata-smart $tempnode"
|
||||
+KERNEL=="sd*[!0-9]", ATTR{removable}=="0", ENV{ID_BUS}=="usb", ENV{DEVTYPE}=="disk", IMPORT{program}="@slashlibdir@/udev/udisks-probe-ata-smart $tempnode"
|
||||
|
||||
# ATA disks driven by libata
|
||||
-KERNEL=="sd*[!0-9]", ATTR{removable}=="0", ENV{ID_BUS}=="ata", ENV{DEVTYPE}=="disk", IMPORT{program}="udisks-probe-ata-smart $tempnode"
|
||||
+KERNEL=="sd*[!0-9]", ATTR{removable}=="0", ENV{ID_BUS}=="ata", ENV{DEVTYPE}=="disk", IMPORT{program}="@slashlibdir@/udev/udisks-probe-ata-smart $tempnode"
|
||||
|
||||
# ATA disks connected via SAS (not driven by libata)
|
||||
-KERNEL=="sd*[!0-9]", ATTR{removable}=="0", ENV{ID_BUS}=="scsi", ENV{DEVTYPE}=="disk", ENV{ID_VENDOR}=="ATA", IMPORT{program}="udisks-probe-ata-smart $tempnode"
|
||||
+KERNEL=="sd*[!0-9]", ATTR{removable}=="0", ENV{ID_BUS}=="scsi", ENV{DEVTYPE}=="disk", ENV{ID_VENDOR}=="ATA", IMPORT{program}="@slashlibdir@/udev/udisks-probe-ata-smart $tempnode"
|
||||
|
||||
|
||||
# Example rule for tagging a device with a specific media type. Where and
|
@ -1,10 +0,0 @@ |
||||
--- a/sct.c 2017-09-22 00:44:20.270421881 +0000
|
||||
+++ b/sct.c 2017-09-26 10:50:38.964562740 +0000
|
||||
@@ -36,6 +36,7 @@
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
Display *dpy = XOpenDisplay(NULL);
|
||||
+ if (!dpy) exit(1);
|
||||
int screen = DefaultScreen(dpy);
|
||||
Window root = RootWindow(dpy, screen);
|
||||
|
@ -1,26 +0,0 @@ |
||||
{ lib |
||||
, python3Packages |
||||
, salt |
||||
}: |
||||
|
||||
python3Packages.buildPythonApplication rec { |
||||
pname = "salt-pepper"; |
||||
version = "0.7.5"; |
||||
src = python3Packages.fetchPypi { |
||||
inherit pname version; |
||||
sha256 = "1wh6yidwdk8jvjpr5g3azhqgsk24c5rlzmw6l86dmi0mpvmxm94w"; |
||||
}; |
||||
|
||||
buildInputs = with python3Packages; [ setuptools setuptools-scm salt ]; |
||||
checkInputs = with python3Packages; [ |
||||
pytest mock pyzmq pytest-rerunfailures pytest-cov cherrypy tornado |
||||
]; |
||||
|
||||
meta = with lib; { |
||||
description = "A CLI front-end to a running salt-api system"; |
||||
homepage = "https://github.com/saltstack/pepper"; |
||||
maintainers = [ maintainers.pierrer ]; |
||||
license = licenses.asl20; |
||||
broken = true; # ModuleNotFoundError: No module named 'pytestsalt' |
||||
}; |
||||
} |
@ -1,26 +0,0 @@ |
||||
{ lib, buildGoPackage, fetchFromGitHub }: |
||||
|
||||
buildGoPackage rec { |
||||
pname = "azure-vhd-utils"; |
||||
version = "unstable-2016-06-14"; |
||||
|
||||
goPackagePath = "github.com/Microsoft/azure-vhd-utils"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "Microsoft"; |
||||
repo = "azure-vhd-utils"; |
||||
rev = "070db2d701a462ca2edcf89d677ed3cac309d8e8"; |
||||
sha256 = "sha256-8EH7RpuAeYKd5z64mklKKlFi20KYcx2WhVmkRbdaMy0="; |
||||
}; |
||||
|
||||
goDeps = ./deps.nix; |
||||
|
||||
meta = with lib; { |
||||
homepage = "https://github.com/Microsoft/azure-vhd-utils"; |
||||
description = "Read, inspect and upload VHD files for Azure"; |
||||
longDescription = "Go package to read Virtual Hard Disk (VHD) file, a CLI interface to upload local VHD to Azure storage and to inspect a local VHD"; |
||||
license = licenses.mit; |
||||
platforms = platforms.unix; |
||||
}; |
||||
} |
||||
|
@ -1,29 +0,0 @@ |
||||
[ |
||||
{ |
||||
goPackagePath = "github.com/Azure/azure-sdk-for-go"; |
||||
fetch = { |
||||
type = "git"; |
||||
url = "https://github.com/Azure/azure-sdk-for-go"; |
||||
rev = "0884ebb4c8e7c980527348a4d134a65286042afc"; |
||||
sha256 = "0ixsq409akq1ff12352kp5gkbh370rpbw0m0pbwjr42cqvnzs9k0"; |
||||
}; |
||||
} |
||||
{ |
||||
goPackagePath = "github.com/Microsoft/azure-vhd-utils-for-go"; |
||||
fetch = { |
||||
type = "git"; |
||||
url = "https://github.com/Microsoft/azure-vhd-utils-for-go"; |
||||
rev = "070db2d701a462ca2edcf89d677ed3cac309d8e8"; |
||||
sha256 = "0b9kbavlb92rhnb1swwq8bdn4l9a994rmf1ywyfq4yc0kd3gnhgh"; |
||||
}; |
||||
} |
||||
{ |
||||
goPackagePath = "github.com/codegangsta/cli"; |
||||
fetch = { |
||||
type = "git"; |
||||
url = "https://github.com/codegangsta/cli"; |
||||
rev = "f614c177b70c0f0e92c368d623c8770bf337c5d6"; |
||||
sha256 = "1l70f07v0dsp2k2pm0lmr42fp4y72j1g0czf4fkxwhvgbly3al98"; |
||||
}; |
||||
} |
||||
] |
@ -1,27 +0,0 @@ |
||||
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1 |
||||
{ lib, buildGoPackage, fetchFromGitHub }: |
||||
|
||||
buildGoPackage rec { |
||||
version = "1.0.0"; |
||||
pname = "envdir"; |
||||
|
||||
goPackagePath = "github.com/d10n/envdir"; |
||||
|
||||
src = fetchFromGitHub { |
||||
rev = "v${version}"; |
||||
owner = "d10n"; |
||||
repo = "envdir"; |
||||
sha256 = "1wdlblj127skgynf9amk7waabc3abbyxys9dvyc6c72zpcpdy5nc"; |
||||
}; |
||||
|
||||
# TODO: is there a way to get the commit ref so we can set main.buildCommit? |
||||
ldflags = [ |
||||
"-X main.buildDate=1970-01-01T00:00:00+0000" "-X main.buildVersion=${version}" |
||||
]; |
||||
|
||||
meta = { |
||||
description = "A go rewrite of envdir"; |
||||
homepage = "https://github.com/d10n/envdir"; |
||||
maintainers = with lib.maintainers; [ edude03 ]; |
||||
}; |
||||
} |
@ -0,0 +1,32 @@ |
||||
{ lib, stdenv, fetchFromGitHub }: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "map"; |
||||
version = "0.1.1"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "soveran"; |
||||
repo = "map"; |
||||
rev = version; |
||||
sha256 = "sha256-yGzmhZwv1qKy0JNcSzqL996APQO8OGWQ1GBkEkKTOXA="; |
||||
}; |
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ]; |
||||
|
||||
postInstall = '' |
||||
mkdir -p "$out/share/doc/${pname}" |
||||
cp README* LICENSE "$out/share/doc/${pname}" |
||||
''; |
||||
|
||||
doCheck = true; |
||||
|
||||
checkPhase = "./test/tests.sh"; |
||||
|
||||
meta = with lib; { |
||||
description = "Map lines from stdin to commands"; |
||||
homepage = "https://github.com/soveran/map"; |
||||
license = licenses.bsd2; |
||||
maintainers = with maintainers; [ pogobanane ]; |
||||
platforms = platforms.unix; |
||||
}; |
||||
} |
@ -1,88 +0,0 @@ |
||||
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, glibc |
||||
, bison, curl, flex, gperftools, jansson, jemalloc, libkrb5, lua, libmysqlclient |
||||
, ncurses, openssl, pcre, pcre2, perl, rabbitmq-c, sqlite, tcl |
||||
, libaio, libedit, libtool, libui, libuuid, zlib |
||||
}: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "maxscale"; |
||||
version = "2.1.17"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "mariadb-corporation"; |
||||
repo = "MaxScale"; |
||||
rev = "${pname}-${version}"; |
||||
sha256 = "161kc6aqqj3z509q4qwvsd86h06hlyzdask4gawn2ij0h3ca58q6"; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ]; |
||||
|
||||
buildInputs = [ |
||||
bison curl flex gperftools jansson jemalloc libkrb5 lua libmysqlclient |
||||
ncurses openssl pcre pcre2 perl rabbitmq-c sqlite tcl |
||||
libaio libedit libtool libui libuuid zlib |
||||
]; |
||||
|
||||
patches = [ ./getopt.patch ]; |
||||
|
||||
preConfigure = '' |
||||
for i in `grep -l -R '#include <getopt.h>' .`; do |
||||
substituteInPlace $i --replace "#include <getopt.h>" "#include <${glibc.dev}/include/getopt.h>" |
||||
done |
||||
''; |
||||
|
||||
cmakeFlags = [ |
||||
"-DUSE_C99=YES" |
||||
"-DDEFAULT_ADMIN_USER=root" |
||||
"-DWITH_MAXSCALE_CNF=YES" |
||||
"-DSTATIC_EMBEDDED=YES" |
||||
"-DBUILD_RABBITMQ=YES" |
||||
"-DBUILD_BINLOG=YES" |
||||
"-DBUILD_CDC=NO" |
||||
"-DBUILD_MMMON=YES" |
||||
"-DBUILD_LUAFILTER=YES" |
||||
"-DLUA_LIBRARIES=${lua}/lib" |
||||
"-DLUA_INCLUDE_DIR=${lua}/include" |
||||
"-DGCOV=NO" |
||||
"-DWITH_SCRIPTS=OFF" |
||||
"-DBUILD_TESTS=NO" |
||||
"-DBUILD_TOOLS=NO" |
||||
"-DPROFILE=NO" |
||||
"-DWITH_TCMALLOC=YES" |
||||
"-DWITH_JEMALLOC=YES" |
||||
"-DINSTALL_EXPERIMENTAL=YES" |
||||
"-DTARGET_COMPONENT=all" |
||||
]; |
||||
|
||||
CFLAGS = "-std=gnu99"; |
||||
|
||||
enableParallelBuilding = false; |
||||
|
||||
dontStrip = true; |
||||
|
||||
postInstall = '' |
||||
find $out/bin -type f -perm -0100 | while read f1; do |
||||
patchelf \ |
||||
--set-rpath "$(patchelf --print-rpath $f1):${libmysqlclient}/lib/mariadb:$out/lib/maxscale" \ |
||||
--set-interpreter "$(cat ${stdenv.cc}/nix-support/dynamic-linker)" $f1 \ |
||||
&& patchelf --shrink-rpath $f1 |
||||
done |
||||
|
||||
find $out/lib/maxscale -type f -perm -0100 | while read f2; do |
||||
patchelf \ |
||||
--set-rpath "$(patchelf --print-rpath $f2)":$out/lib/maxscale $f2 |
||||
done |
||||
|
||||
mv $out/share/maxscale/create_grants $out/bin |
||||
rm -rf $out/{etc,var} |
||||
''; |
||||
|
||||
meta = with lib; { |
||||
description = "MaxScale database proxy extends MariaDB Server's high availability"; |
||||
homepage = "https://mariadb.com/products/technology/maxscale"; |
||||
license = licenses.bsl11; |
||||
platforms = platforms.linux; |
||||
maintainers = with maintainers; [ izorkin ]; |
||||
broken = true; |
||||
}; |
||||
} |
@ -1,11 +0,0 @@ |
||||
--- a/server/core/maxpasswd.c 2018-01-12 05:06:49.000000000 -0500
|
||||
+++ b/server/core/maxpasswd.c 2018-01-12 06:50:18.518000000 -0500
|
||||
@@ -25,6 +25,7 @@
|
||||
|
||||
#include <maxscale/cdefs.h>
|
||||
|
||||
+#include <getopt.h>
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <sys/stat.h>
|
||||
|
@ -1,34 +0,0 @@ |
||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, glib, syslogng |
||||
, eventlog, perl, python2, bison, protobufc, libivykis, libcap, czmq |
||||
}: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "syslog-ng-incubator"; |
||||
version = "0.6.2"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "balabit"; |
||||
repo = "syslog-ng-incubator"; |
||||
rev = "${pname}-${version}"; |
||||
sha256 = "17y85cqcyfbp882gaii731cvz5bg1s8rgda271jh6kgnrz5rbd4s"; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ pkg-config autoreconfHook bison ]; |
||||
|
||||
buildInputs = [ |
||||
glib syslogng eventlog perl python2 protobufc libivykis libcap czmq |
||||
]; |
||||
|
||||
configureFlags = [ |
||||
"--with-module-dir=$(out)/lib/syslog-ng" |
||||
]; |
||||
|
||||
meta = with lib; { |
||||
homepage = "https://github.com/balabit/syslog-ng-incubator"; |
||||
description = "A collection of tools and modules for syslog-ng"; |
||||
license = licenses.gpl2; |
||||
maintainers = []; |
||||
platforms = platforms.linux; |
||||
broken = true; # 2018-05-12 |
||||
}; |
||||
} |
Loading…
Reference in new issue