Created
February 22, 2017 10:17
-
-
Save brodul/b82468f22eb40e71079861946620cfa6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
allowUnfree = true; | |
allowBroken = true; | |
planetary_annihilation = { | |
url = "file:///home/brodul/Downloads/PA_Linux_78071.tar.bz2"; | |
sha256 = "980a8e4d43dfe7d238b980ccd5e0fda091f752e930d7676154bd5d5c8d0c2047"; | |
}; | |
packageOverrides = pkgs: rec { | |
/*borg = with pkgs; python3Packages.buildPythonApplication rec { | |
name = "borgbackup-${version}"; | |
version = "1.0.2"; | |
namePrefix = ""; | |
src = fetchurl { | |
url = "https://pypi.python.org/packages/source/b/borgbackup/borgbackup-${version}.tar.gz"; | |
sha256 = "1myz10pwxnac9z59gw1w3xjhz6ghx03vngpl97ca527pj0r39shi"; | |
}; | |
nativeBuildInputs = with python3Packages; [ | |
# For building documentation: | |
sphinx | |
]; | |
propagatedBuildInputs = [ | |
acl lz4 openssl | |
] ++ (with python3Packages; [ | |
cython msgpack llfuse tox detox setuptools_scm | |
]); | |
preConfigure = '' | |
export BORG_OPENSSL_PREFIX="${openssl}" | |
export BORG_LZ4_PREFIX="${lz4}" | |
''; | |
postInstall = '' | |
make -C docs singlehtml | |
mkdir -p $out/share/doc/borg | |
cp -R docs/_build/singlehtml $out/share/doc/borg/html | |
make -C docs man | |
mkdir -p $out/share/man | |
cp -R docs/_build/man $out/share/man/man1 | |
''; | |
meta = with stdenv.lib; { | |
description = "A deduplicating backup program (attic fork)"; | |
homepage = https://borgbackup.github.io/; | |
license = licenses.bsd3; | |
platforms = platforms.unix; # Darwin and FreeBSD mentioned on homepage | |
maintainers = with maintainers; [ nckx ]; | |
}; | |
};*/ | |
zoom = with pkgs; stdenv.mkDerivation rec { | |
name = "zoom-us"; | |
meta = { | |
homepage = http://zoom.us; | |
description = "zoom.us instant messenger"; | |
license = stdenv.lib.licenses.unfree; | |
platforms = stdenv.lib.platforms.linux; | |
}; | |
version = "2.0.81497.0116"; | |
src = fetchurl { | |
url = "https://zoom.us/client/${version}/zoom_x86_64.tar.xz"; | |
sha256 = "1lq59l5vxirjgcsrl6r4nqgvjr519gkn69alffv1f1fwq5vzif7j"; | |
}; | |
phases = [ "unpackPhase" "installPhase" ]; | |
nativeBuildInputs = [ qt56.makeQtWrapper ]; | |
buildInputs = [ | |
alsaLib | |
gcc.cc | |
glib | |
gst_plugins_base | |
gstreamer | |
icu | |
libpulseaudio | |
libuuid | |
libxml2 | |
libxslt | |
qt56.qtbase | |
qt56.qtdeclarative | |
qt56.qtlocation | |
qt56.qtscript | |
qt56.qtwebchannel | |
qt56.qtwebengine | |
sqlite | |
xlibs.xcbutilkeysyms | |
xorg.libX11 | |
xorg.libxcb | |
xorg.libXcomposite | |
xorg.libXext | |
xorg.libXfixes | |
xorg.libXrender | |
xorg.xcbutilimage | |
zlib | |
]; | |
libPath = stdenv.lib.makeLibraryPath buildInputs; | |
installPhase = '' | |
mkdir -p $out/share | |
cp -r \ | |
application-x-zoom.png \ | |
audio \ | |
imageformats \ | |
config-dump.sh \ | |
dingdong1.pcm \ | |
dingdong.pcm \ | |
doc \ | |
Droplet.pcm \ | |
Droplet.wav \ | |
platforminputcontexts \ | |
platforms \ | |
platformthemes \ | |
leave.pcm \ | |
ring.pcm \ | |
ring.wav \ | |
version.txt \ | |
xcbglintegrations \ | |
zcacert.pem \ | |
zoom \ | |
Zoom.png \ | |
ZXMPPROOT.cer \ | |
$out/share | |
patchelf \ | |
--set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \ | |
--set-rpath ${libPath} \ | |
$out/share/zoom | |
paxmark m $out/share/zoom | |
wrapQtProgram "$out/share/zoom" | |
mkdir -p $out/bin | |
ln -s $out/share/zoom $out/bin/zoom-us | |
''; | |
}; | |
/* | |
opentracker = pkgs.stdenv.mkDerivation { | |
name = "opentracker-0.1"; | |
src = pkgs.fetchgit { | |
url = git://erdgeist.org/opentracker ; | |
sha256 = "0pa72sdg7h2m0mlmjfy8m66g2d18qyg1q39qw1mv6y398qyi3mkl"; | |
}; | |
buildInputs = [ libowfat pkgs.zlib]; | |
makeFlags=" PREFIX=\${out} LIBOWFAT_HEADERS=${libowfat}/include LIBOWFAT_LIBRARY=${libowfat}/libs"; | |
}; | |
*/ | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment