Merge remote-tracking branch 'upstream/staging-next' into down-integrate-staging
This commit is contained in:
@@ -35,7 +35,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
patches = lib.optional stdenv.isDarwin ./darwin.patch;
|
||||
|
||||
nativeBuildInputs = [ cmake makeWrapper ] ++ optional cudaSupport addOpenGLRunpath;
|
||||
nativeBuildInputs = [ cmake makeWrapper python3Packages.wrapPython ]
|
||||
++ optionals cudaSupport [ addOpenGLRunpath ];
|
||||
buildInputs =
|
||||
[ boost ffmpeg gettext glew ilmbase
|
||||
freetype libjpeg libpng libsamplerate libsndfile libtiff
|
||||
@@ -63,6 +64,7 @@ stdenv.mkDerivation rec {
|
||||
++ optional cudaSupport cudatoolkit
|
||||
++ optional colladaSupport opencollada
|
||||
++ optional spaceNavSupport libspnav;
|
||||
pythonPath = with python3Packages; [ numpy requests ];
|
||||
|
||||
postPatch = ''
|
||||
# allow usage of dynamically linked embree
|
||||
@@ -109,6 +111,7 @@ stdenv.mkDerivation rec {
|
||||
"-DWITH_PYTHON_INSTALL_NUMPY=OFF"
|
||||
"-DPYTHON_NUMPY_PATH=${python3Packages.numpy}/${python.sitePackages}"
|
||||
"-DPYTHON_NUMPY_INCLUDE_DIRS=${python3Packages.numpy}/${python.sitePackages}/numpy/core/include"
|
||||
"-DWITH_PYTHON_INSTALL_REQUESTS=OFF"
|
||||
"-DWITH_OPENVDB=ON"
|
||||
"-DWITH_TBB=ON"
|
||||
"-DWITH_IMAGE_OPENJPEG=ON"
|
||||
@@ -137,10 +140,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
blenderExecutable =
|
||||
placeholder "out" + (if stdenv.isDarwin then "/Blender.app/Contents/MacOS/Blender" else "/bin/blender");
|
||||
# --python-expr is used to workaround https://developer.blender.org/T74304
|
||||
postInstall = ''
|
||||
buildPythonPath "$pythonPath"
|
||||
wrapProgram $blenderExecutable \
|
||||
--prefix PYTHONPATH : ${python3Packages.numpy}/${python.sitePackages} \
|
||||
--prefix PATH : $program_PATH \
|
||||
--prefix PYTHONPATH : "$program_PYTHONPATH" \
|
||||
--add-flags '--python-use-system-env'
|
||||
'';
|
||||
|
||||
|
||||
@@ -5,13 +5,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "dasel";
|
||||
version = "1.13.6";
|
||||
version = "1.14.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "TomWright";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-PTi1blbMVsuftLrFIYNDI8ZFEwRxDA53Md9oZTv7nHs=";
|
||||
sha256 = "1g4a001k86myfln0xlzy8w9krwamvfchnvywpr1p3x6iw95z46w8";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-BdX4DO77mIf/+aBdkNVFUzClsIml1UMcgvikDbbdgcY=";
|
||||
|
||||
@@ -0,0 +1,79 @@
|
||||
{ mkDerivation, lib, fetchzip, libarchive, autoPatchelfHook, libsecret, libGL, zlib, openssl, qtbase, qtwebkit, qtxmlpatterns }:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "foxitreader";
|
||||
version = "2.4.4.0911";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://cdn01.foxitsoftware.com/pub/foxit/reader/desktop/linux/${lib.versions.major version}.x/${lib.versions.majorMinor version}/en_us/FoxitReader.enu.setup.${version}.x64.run.tar.gz";
|
||||
sha256 = "0ff4xs9ipc7sswq0czfhpsd7qw7niw0zsf9wgsqhbbgzcpbdhcb7";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
buildInputs = [ libGL libsecret openssl qtbase qtwebkit qtxmlpatterns zlib ];
|
||||
|
||||
nativeBuildInputs = [ autoPatchelfHook libarchive ];
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
input_file=$src/*.run
|
||||
mkdir -p extracted
|
||||
# Look for all 7z files and extract them
|
||||
grep --only-matching --byte-offset --binary \
|
||||
--text -P '7z\xBC\xAF\x27\x1C\x00\x03' $input_file | cut -d: -f1 |
|
||||
while read position; do
|
||||
tail -c +$(($position + 1)) $input_file > file.7z
|
||||
bsdtar xf file.7z -C extracted
|
||||
done
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/lib
|
||||
cd extracted
|
||||
|
||||
cp -r \
|
||||
CollectStrategy.txt \
|
||||
cpdf_settings \
|
||||
fxplugins \
|
||||
lang \
|
||||
resource \
|
||||
run \
|
||||
stamps \
|
||||
welcome \
|
||||
Wrappers \
|
||||
$out/lib/
|
||||
|
||||
patchelf $out/lib/fxplugins/librms.so \
|
||||
--replace-needed libssl.so.10 libssl.so \
|
||||
--replace-needed libcrypto.so.10 libcrypto.so
|
||||
|
||||
# FIXME: Doing this with one invocation is broken right now
|
||||
patchelf $out/lib/fxplugins/librmscrypto.so \
|
||||
--replace-needed libssl.so.10 libssl.so
|
||||
patchelf $out/lib/fxplugins/librmscrypto.so \
|
||||
--replace-needed libcrypto.so.10 libcrypto.so
|
||||
|
||||
install -D -m 755 FoxitReader -t $out/bin
|
||||
|
||||
# Install icon and desktop files
|
||||
install -D -m 644 images/FoxitReader.png -t $out/share/pixmaps/
|
||||
install -D -m 644 FoxitReader.desktop -t $out/share/applications/
|
||||
echo Exec=FoxitReader %F >> $out/share/applications/FoxitReader.desktop
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
qtWrapperArgs = [ "--set appname FoxitReader" "--set selfpath $out/lib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A viewer for PDF documents";
|
||||
homepage = "https://www.foxitsoftware.com/";
|
||||
license = licenses.unfree;
|
||||
maintainers = with maintainers; [ p-h rhoriguchi ];
|
||||
};
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
{ lib, stdenv
|
||||
{ lib
|
||||
, stdenv
|
||||
, autoconf
|
||||
, automake
|
||||
, c-ares
|
||||
@@ -24,21 +25,29 @@
|
||||
, unzip
|
||||
, wget
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "megasync";
|
||||
version = "4.3.5.0";
|
||||
version = "4.4.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "meganz";
|
||||
repo = "MEGAsync";
|
||||
rev = "v${version}_Linux";
|
||||
sha256 = "0rr1jjy0n5bj1lh6xi3nbbcikvq69j3r9qnajp4mhywr5izpccvs";
|
||||
sha256 = "1xggca7283943070mmpsfhh7c9avy809h0kgmf7497f4ca5zkg2y";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs =
|
||||
[ autoconf automake doxygen lsb-release pkg-config qttools swig unzip ];
|
||||
nativeBuildInputs = [
|
||||
autoconf
|
||||
automake
|
||||
doxygen
|
||||
libtool
|
||||
lsb-release
|
||||
pkg-config
|
||||
qttools
|
||||
swig
|
||||
unzip
|
||||
];
|
||||
buildInputs = [
|
||||
c-ares
|
||||
cryptopp
|
||||
@@ -47,7 +56,6 @@ mkDerivation rec {
|
||||
libmediainfo
|
||||
libraw
|
||||
libsodium
|
||||
libtool
|
||||
libuv
|
||||
libzen
|
||||
qtbase
|
||||
@@ -65,7 +73,7 @@ mkDerivation rec {
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
for file in $(find src/ -type f \( -iname configure -o -iname \*.sh \) ); do
|
||||
for file in $(find src/ -type f \( -iname configure -o -iname \*.sh \) ); do
|
||||
substituteInPlace "$file" --replace "/bin/bash" "${stdenv.shell}"
|
||||
done
|
||||
'';
|
||||
|
||||
@@ -30,12 +30,12 @@ let
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "obsidian";
|
||||
version = "0.11.9";
|
||||
version = "0.11.13";
|
||||
|
||||
src = fetchurl {
|
||||
url =
|
||||
"https://github.com/obsidianmd/obsidian-releases/releases/download/v${version}/obsidian-${version}.tar.gz";
|
||||
sha256 = "XymM3qma8H2dm2tq8Zg+oKxOzb48azqlqn701pN5gdI=";
|
||||
sha256 = "0QL1rP37pmdIdGM9eHa7PfW1GVrvn2fX4bQPqQ8FOpI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper graphicsmagick ];
|
||||
|
||||
@@ -5,13 +5,13 @@
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "pdfarranger";
|
||||
version = "1.7.0";
|
||||
version = "1.7.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0dmgmvpghsm938iznalbg8h8k17a5h3q466yfc67mcll428n4nx3";
|
||||
sha256 = "1c2mafnz8pv32wzkc2wx4q8y2x7xffpn6ag12dj7ga5n772fb6s3";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -1,81 +1,77 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, perl
|
||||
, python3
|
||||
, sqlite
|
||||
, gpsbabel
|
||||
, fetchFromGitHub
|
||||
, gdk-pixbuf
|
||||
, gnome3
|
||||
, gobject-introspection
|
||||
, wrapGAppsHook
|
||||
, gtk3
|
||||
, xvfb_run
|
||||
, webkitgtk
|
||||
, gpsbabel
|
||||
, glib-networking
|
||||
, glibcLocales
|
||||
, gobject-introspection
|
||||
, gtk3
|
||||
, perl
|
||||
, sqlite
|
||||
, tzdata
|
||||
, substituteAll
|
||||
, webkitgtk
|
||||
, wrapGAppsHook
|
||||
, xvfb_run
|
||||
}:
|
||||
|
||||
let
|
||||
# Pytrainer needs a matplotlib with GTK backend.
|
||||
matplotlibGtk = python3.pkgs.matplotlib.override {
|
||||
enableGtk3 = true;
|
||||
python = python3.override {
|
||||
packageOverrides = (self: super: {
|
||||
matplotlib = super.matplotlib.override {
|
||||
enableGtk3 = true;
|
||||
};
|
||||
});
|
||||
};
|
||||
|
||||
in
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
in python.pkgs.buildPythonApplication rec {
|
||||
pname = "pytrainer";
|
||||
version = "2.0.1";
|
||||
version = "2.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pytrainer";
|
||||
repo = "pytrainer";
|
||||
rev = "v${version}";
|
||||
sha256 = "0m2sy3f5pyc4wv1ns31r7vlafqkzp0a2jasaskwrkl6273agbbk9";
|
||||
sha256 = "sha256-i3QC6ct7tS8B0QQjtVqPcd03LLIxo6djQe4YX35syzk=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(substituteAll {
|
||||
src = ./fix-paths.patch;
|
||||
perl = "${perl}/bin/perl";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace ./setup.py \
|
||||
--replace "'mysqlclient'," ""
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
dateutil
|
||||
lxml
|
||||
matplotlibGtk
|
||||
pygobject3
|
||||
sqlalchemy
|
||||
propagatedBuildInputs = with python.pkgs; [
|
||||
sqlalchemy_migrate
|
||||
psycopg2
|
||||
requests
|
||||
certifi
|
||||
python-dateutil
|
||||
matplotlib
|
||||
lxml
|
||||
setuptools
|
||||
requests
|
||||
gdal
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
gobject-introspection
|
||||
wrapGAppsHook
|
||||
xvfb_run
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gpsbabel
|
||||
sqlite
|
||||
gtk3
|
||||
webkitgtk
|
||||
glib-networking
|
||||
glibcLocales
|
||||
gnome3.adwaita-icon-theme
|
||||
gdk-pixbuf
|
||||
];
|
||||
|
||||
makeWrapperArgs = [
|
||||
"--prefix" "PATH" ":" (lib.makeBinPath [ perl gpsbabel ])
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
glibcLocales
|
||||
perl
|
||||
xvfb_run
|
||||
] ++ (with python.pkgs; [
|
||||
mysqlclient
|
||||
psycopg2
|
||||
]);
|
||||
|
||||
checkPhase = ''
|
||||
env HOME=$TEMPDIR TZDIR=${tzdata}/share/zoneinfo \
|
||||
TZ=Europe/Kaliningrad \
|
||||
@@ -85,9 +81,9 @@ python3.pkgs.buildPythonApplication rec {
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/pytrainer/pytrainer/wiki";
|
||||
homepage = "https://github.com/pytrainer/pytrainer";
|
||||
description = "Application for logging and graphing sporting excursions";
|
||||
maintainers = [ maintainers.rycee ];
|
||||
maintainers = with maintainers; [ rycee dotlambda ];
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
--- a/imports/file_garminfit.py
|
||||
+++ b/imports/file_garminfit.py
|
||||
@@ -81,7 +81,7 @@
|
||||
logging.debug(">>")
|
||||
result = False
|
||||
try:
|
||||
- result = subprocess.check_output(["perl",
|
||||
+ result = subprocess.check_output(["@perl@",
|
||||
self.main_data_path+"plugins/garmin-fit/bin/fit2tcx",
|
||||
filename])
|
||||
except subprocess.CalledProcessError:
|
||||
@@ -4,13 +4,13 @@
|
||||
|
||||
let
|
||||
pname = "qdirstat";
|
||||
version = "1.7";
|
||||
version = "1.7.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "shundhammer";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "163x3fxra0l3vvrzm25mh7jvcwjbmwsqlpppkxx76mkz9a1769fy";
|
||||
sha256 = "sha256-i1xHMwSnBULJbOA/ykQK9WBd+6TBNBRI9hnU1FDGQlY=";
|
||||
};
|
||||
in
|
||||
|
||||
@@ -50,7 +50,7 @@ mkDerivation {
|
||||
meta = with lib; {
|
||||
description = "Graphical disk usage analyzer";
|
||||
homepage = src.meta.homepage;
|
||||
license = licenses.gpl2;
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ gnidorah ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
|
||||
@@ -29,6 +29,8 @@ mkDerivation rec {
|
||||
|
||||
qmakeFlags = [ "INSTALLROOT=$(out)" ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs .
|
||||
sed -i -e '/unix:!macx:INSTALLROOT += \/usr/d' \
|
||||
|
||||
@@ -19,13 +19,13 @@
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "udiskie";
|
||||
version = "2.3.2";
|
||||
version = "2.3.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "coldfix";
|
||||
repo = "udiskie";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-eucAFMzLf2RfMfVgFTfPAgVNpDADddvTUZQO/XbBhGo=";
|
||||
hash = "sha256-OeNAcL7jd8GiPVUGxWwX4N/G/jzxfyifaoSD/hXXwyM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -58,8 +58,8 @@ buildPythonApplication rec {
|
||||
'';
|
||||
|
||||
checkInputs = [
|
||||
nose
|
||||
keyutils
|
||||
nose
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
|
||||
Reference in New Issue
Block a user