3
0
Fork 0
forked from mirrors/nixpkgs

Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2021-01-21 06:45:45 +00:00 committed by GitHub
commit df8b20163b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
47 changed files with 105 additions and 130 deletions

View file

@ -6,13 +6,13 @@
mkDerivation rec { mkDerivation rec {
pname = "opentx"; pname = "opentx";
version = "2.3.10"; version = "2.3.11";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "opentx"; owner = "opentx";
repo = "opentx"; repo = "opentx";
rev = "release/${version}"; rev = "release/${version}";
sha256 = "1pp3k1802gl1rji98clv17wj0619dliq821mpi4446lk22q692yq"; sha256 = "sha256-0B41TkTs4sNGYzpMGbsgCLT2ThkP6foeuwLUIzKKGkU=";
}; };
nativeBuildInputs = [ cmake gcc-arm-embedded python3Packages.pillow ]; nativeBuildInputs = [ cmake gcc-arm-embedded python3Packages.pillow ];

View file

@ -157,9 +157,9 @@ in rec {
}); });
terraform_0_14 = pluggable (generic { terraform_0_14 = pluggable (generic {
version = "0.14.4"; version = "0.14.5";
sha256 = "0kjbx1gshp1lvhnjfigfzza0sbl3m6d9qb3in7q5vc6kdkiplb66"; sha256 = "0drf049zghpm3ajrn006w621s7bw5r1s8gl77nd1cj2zcw2nzn1r";
vendorSha256 = "10vb6gsw7mha99lvx3lbgd80vf0imcqyc0va0y64f6wzaw557n7v"; vendorSha256 = "0z9mkilazrkpbccnkws4hcc49djdwzn0cdbgqkm9bnp9fyg3rfvs";
patches = [ ./provider-path.patch ]; patches = [ ./provider-path.patch ];
passthru = { inherit plugins; }; passthru = { inherit plugins; };
}); });

View file

@ -26,14 +26,14 @@
mkDerivation rec { mkDerivation rec {
pname = "neochat"; pname = "neochat";
version = "1.0"; version = "1.0.1";
src = fetchFromGitLab { src = fetchFromGitLab {
domain = "invent.kde.org"; domain = "invent.kde.org";
owner = "network"; owner = "network";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "1r9n83kvc5v215lzmzh6hyc5q9i3w6znbf508qk0mdwdzxz4zry9"; sha256 = "sha256-xGqGFJHyoZXHLv/n3UGr/KVbgs5Gc9kKKWIuKMr9DtQ=";
}; };
nativeBuildInputs = [ cmake extra-cmake-modules pkg-config ]; nativeBuildInputs = [ cmake extra-cmake-modules pkg-config ];

View file

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "rclone"; pname = "rclone";
version = "1.53.3"; version = "1.53.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = pname;
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "10nimrq8nmpmfk2d4fx0yp916wk5q027m283izpshrbwvx7l6xx0"; sha256 = "1w6dsf8hw0wap4090ixl01p64yn53xidfdbpy6rc3xaifypj185d";
}; };
vendorSha256 = "1l4iz31k1pylvf0zrp4nhxna70s1ma4981x6q1s3dhszjxil5c88"; vendorSha256 = "1l4iz31k1pylvf0zrp4nhxna70s1ma4981x6q1s3dhszjxil5c88";
@ -39,6 +39,7 @@ buildGoModule rec {
meta = with lib; { meta = with lib; {
description = "Command line program to sync files and directories to and from major cloud storage"; description = "Command line program to sync files and directories to and from major cloud storage";
homepage = "https://rclone.org"; homepage = "https://rclone.org";
changelog = "https://github.com/rclone/rclone/blob/v${version}/docs/content/changelog.md";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ danielfullmer marsam ]; maintainers = with maintainers; [ danielfullmer marsam ];
}; };

View file

@ -24,11 +24,11 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "PortfolioPerformance"; pname = "PortfolioPerformance";
version = "0.50.0"; version = "0.50.2";
src = fetchurl { src = fetchurl {
url = "https://github.com/buchen/portfolio/releases/download/${version}/PortfolioPerformance-${version}-linux.gtk.x86_64.tar.gz"; url = "https://github.com/buchen/portfolio/releases/download/${version}/PortfolioPerformance-${version}-linux.gtk.x86_64.tar.gz";
sha256 = "1jq4if5hx3fwag1dz38sj87av2na1kv4c36hai1gyz9w5qhjv7j8"; sha256 = "sha256-n5tLYrqqM0KUQrlJWZtKGClKONAz3EXBAlEqIrdPBpI=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -10,15 +10,15 @@ stdenv.mkDerivation rec {
}; };
sourceRoot = "ncbi-blast-${version}+-src/c++"; sourceRoot = "ncbi-blast-${version}+-src/c++";
configureFlags = [ configureFlags = [
# With flat Makefile we can use all_projects in order not to build extra. # With flat Makefile we can use all_projects in order not to build extra.
# These extra cause clang to hang on Darwin. # These extra cause clang to hang on Darwin.
"--with-flat-makefile" "--with-flat-makefile"
"--without-makefile-auto-update" "--without-makefile-auto-update"
"--with-dll" # build dynamic libraries (static are default) "--with-dll" # build dynamic libraries (static are default)
]; ];
makeFlags = [ "all_projects=app/" ]; makeFlags = [ "all_projects=app/" ];
preConfigure = '' preConfigure = ''

View file

@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
sha256 = "1b2v0dcdqn3bysgdkj57sxmd6s0hc9wpnxssviz399g6plhxggbr"; sha256 = "1b2v0dcdqn3bysgdkj57sxmd6s0hc9wpnxssviz399g6plhxggbr";
}; };
configureFlags = [ configureFlags = [
"--without-debug" "--without-debug"
"--with-bin-release" "--with-bin-release"
"--with-dll" "--with-dll"
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
meta = { meta = {
description = ''NCBI Bioinformatics toolbox (incl. BLAST)''; description = ''NCBI Bioinformatics toolbox (incl. BLAST)'';
longDescription = ''The NCBI Bioinformatics toolsbox, including command-line utilties, libraries and include files. No X11 support''; longDescription = ''The NCBI Bioinformatics toolsbox, including command-line utilties, libraries and include files. No X11 support'';
homepage = "http://www.ncbi.nlm.nih.gov/IEB/ToolBox/"; homepage = "http://www.ncbi.nlm.nih.gov/IEB/ToolBox/";
license = "GPL"; license = "GPL";
priority = 5; # zlib.so gives a conflict with zlib priority = 5; # zlib.so gives a conflict with zlib
broken = true; broken = true;

View file

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
--replace '-I/usr/X11R6/include' "" \ --replace '-I/usr/X11R6/include' "" \
--replace '/usr/local/' $out/ \ --replace '/usr/local/' $out/ \
--replace 'sudo' "" \ --replace 'sudo' "" \
--replace '-C surf depend' '-C surf' --replace '-C surf depend' '-C surf'
sed -in '/^# DO NOT DELETE THIS LINE/q;' surf/Makefile sed -in '/^# DO NOT DELETE THIS LINE/q;' surf/Makefile
''; '';
@ -41,4 +41,3 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ markuskowa ]; maintainers = with maintainers; [ markuskowa ];
}; };
} }

View file

@ -10,7 +10,7 @@ stdenv.mkDerivation {
}; };
configureFlags = [ configureFlags = [
"--disable-update-xdg-database" "--disable-update-xdg-database"
]; ];
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ guile gtk2 flex gawk perl ]; buildInputs = [ guile gtk2 flex gawk perl ];

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "dumb-init"; pname = "dumb-init";
version = "1.2.4"; version = "1.2.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Yelp"; owner = "Yelp";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "0v6ggfjl3q5p4hf002ygs8rryyzrg0fqy836p403fq2fgm30k0xx"; sha256 = "sha256-aRh0xfmp+ToXIYjYaducTpZUHndZ5HlFZpFhzJ3yKgs=";
}; };
buildInputs = [ glibc.static ]; buildInputs = [ glibc.static ];

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "papirus-icon-theme"; pname = "papirus-icon-theme";
version = "20200901"; version = "20210101";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "PapirusDevelopmentTeam"; owner = "PapirusDevelopmentTeam";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "00khqbd7jz97q1kd43kkm6yaa40ml36rh04s76sgbm58srs66v3c"; sha256 = "sha256-RHuT+zJQyhiApeLuh821PMI9dmD20OoRVxezF/uCWoE=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -20,7 +20,7 @@ stdenv.mkDerivation {
xmlcatalog --noout --create $cat xmlcatalog --noout --create $cat
grep PUBLIC DTD/*.soc | while read x; do grep PUBLIC DTD/*.soc | while read x; do
eval a=($x) eval a=($x)
xmlcatalog --noout --add public "''${a[1]}" "''${a[2]}" $cat xmlcatalog --noout --add public "''${a[1]}" "''${a[2]}" $cat
done done
''; # */ ''; # */

View file

@ -38,13 +38,13 @@ in stdenv.mkDerivation rec {
for i in $out/bin/!(aasdoc|acompc|amxmlc); do for i in $out/bin/!(aasdoc|acompc|amxmlc); do
wrapProgram $i \ wrapProgram $i \
--set FLEX_HOME $t \ --set FLEX_HOME $t \
--set PLAYERGLOBAL_HOME $t/frameworks/libs/player/ --set PLAYERGLOBAL_HOME $t/frameworks/libs/player/
done done
mkdir -p $t/frameworks/libs/player/${playerglobal_ver}/ mkdir -p $t/frameworks/libs/player/${playerglobal_ver}/
cp ${playerglobal} $t/frameworks/libs/player/${playerglobal_ver}/playerglobal.swc cp ${playerglobal} $t/frameworks/libs/player/${playerglobal_ver}/playerglobal.swc
''; '';
fixupPhase = ":"; fixupPhase = ":";
meta = with stdenv.lib; { meta = with stdenv.lib; {

View file

@ -32,14 +32,14 @@ stdenv.mkDerivation rec {
# Fix absolute paths. # Fix absolute paths.
sed -e 's=/bin/mv=mv=g' -e 's=/bin/rm=rm=g' \ sed -e 's=/bin/mv=mv=g' -e 's=/bin/rm=rm=g' \
-e 's=/tmp=$TMPDIR=g' -i autoconf/* \ -e 's=/tmp=$TMPDIR=g' -i autoconf/* \
[Mm]akefile* */[Mm]akefile* */*/[Mm]akefile* \ [Mm]akefile* */[Mm]akefile* */*/[Mm]akefile* \
*/*/*/[Mm]akefile* */*/*/*/[Mm]akefile* \ */*/*/[Mm]akefile* */*/*/*/[Mm]akefile* \
comptime/Cc/cc.scm gc/install-* comptime/Cc/cc.scm gc/install-*
# Make sure we don't change string lengths in the generated # Make sure we don't change string lengths in the generated
# C files. # C files.
sed -e 's=/bin/rm= rm=g' -e 's=/bin/mv= mv=g' \ sed -e 's=/bin/rm= rm=g' -e 's=/bin/mv= mv=g' \
-i comptime/Cc/cc.c -i comptime/Cc/cc.c
''; '';
checkTarget = "test"; checkTarget = "test";

View file

@ -22,11 +22,11 @@ stdenv.mkDerivation {
tar --strip-components=1 -xjf "$src" -C "$out" tar --strip-components=1 -xjf "$src" -C "$out"
interpreter="$(cat "$NIX_CC"/nix-support/dynamic-linker)" interpreter="$(cat "$NIX_CC"/nix-support/dynamic-linker)"
for a in "$out"/bin/*; do for a in "$out"/bin/*; do
patchelf --set-interpreter "$interpreter" "$a" patchelf --set-interpreter "$interpreter" "$a"
patchelf --set-rpath "$out/lib:${boehmgc.out}/lib" "$a" patchelf --set-rpath "$out/lib:${boehmgc.out}/lib" "$a"
done done
for a in "$out"/lib/*.so; do for a in "$out"/lib/*.so; do
patchelf --set-rpath "$out/lib:${boehmgc.out}/lib" "$a" patchelf --set-rpath "$out/lib:${boehmgc.out}/lib" "$a"
done done
sed -i -e "s|\-lgc|\-L${boehmgc.out}\/lib -lgc|" $out/lib/config.jam sed -i -e "s|\-lgc|\-L${boehmgc.out}\/lib -lgc|" $out/lib/config.jam

View file

@ -21,7 +21,7 @@ stdenv.mkDerivation {
preConfigure = '' preConfigure = ''
cd angelscript/projects/gnuc cd angelscript/projects/gnuc
sed -i makefile -e "s@LOCAL = .*@LOCAL = $out@" sed -i makefile -e "s@LOCAL = .*@LOCAL = $out@"
export SHARED=1 export SHARED=1
export VERSION="${s.version}" export VERSION="${s.version}"
mkdir -p "$out/lib" "$out/bin" "$out/share" "$out/include" mkdir -p "$out/lib" "$out/bin" "$out/share" "$out/include"
''; '';

View file

@ -17,7 +17,7 @@ stdenv.mkDerivation {
configureFlags = [ "--cache-file=config.cache" "--with-downloader=true" ]; configureFlags = [ "--cache-file=config.cache" "--with-downloader=true" ];
postConfigure = '' postConfigure = ''
cp $srcAmr 26104-b00.zip cp $srcAmr 26104-b00.zip
''; '';
meta = { meta = {

View file

@ -2,13 +2,13 @@
mkDerivation rec { mkDerivation rec {
pname = "libquotient"; pname = "libquotient";
version = "0.6.3"; version = "0.6.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "quotient-im"; owner = "quotient-im";
repo = "libQuotient"; repo = "libQuotient";
rev = version; rev = version;
sha256 = "sha256-RYEcFClRdAippG0kspNi9QZIzZAuU4++9LOQTZcqpVc="; sha256 = "sha256-bWqZiRv/mJzw+WY+7dLIzYBu8jhglBqgTjiXyQ1y6IQ=";
}; };
buildInputs = [ qtbase qtmultimedia ]; buildInputs = [ qtbase qtmultimedia ];

View file

@ -23,10 +23,10 @@ stdenv.mkDerivation {
installPhase = '' installPhase = ''
mkdir -p $out mkdir -p $out
make install DESTDIR="$out" make install DESTDIR="$out"
''; '';
meta = { meta = {
description = "The Snack Sound Toolkit (Tcl)"; description = "The Snack Sound Toolkit (Tcl)";
homepage = "http://www.speech.kth.se/snack/"; homepage = "http://www.speech.kth.se/snack/";
license = stdenv.lib.licenses.gpl2; license = stdenv.lib.licenses.gpl2;

View file

@ -25,8 +25,8 @@ stdenv.mkDerivation rec {
sha256 = "1kxiqab48p0n97pwg8c2zx56wqq32m3rcq7qd2pjj33ipcanb3qq"; sha256 = "1kxiqab48p0n97pwg8c2zx56wqq32m3rcq7qd2pjj33ipcanb3qq";
}; };
cmakeFlags = [ cmakeFlags = [
"-DCMAKE_INSTALL_DATADIR=${placeholder "dev"}" "-DCMAKE_INSTALL_DATADIR=${placeholder "dev"}"
] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ ] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
"-DWAYLAND_SCANNERPP=${buildPackages.waylandpp}/bin/wayland-scanner++" "-DWAYLAND_SCANNERPP=${buildPackages.waylandpp}/bin/wayland-scanner++"
]; ];

View file

@ -38,7 +38,7 @@ deployAndroidPackage {
# Wrap emulator so that it can load required libraries at runtime # Wrap emulator so that it can load required libraries at runtime
wrapProgram $out/libexec/android-sdk/emulator/emulator \ wrapProgram $out/libexec/android-sdk/emulator/emulator \
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [
pkgs.dbus pkgs.dbus
pkgs.systemd pkgs.systemd
]} \ ]} \

View file

@ -58,7 +58,7 @@ stdenv.mkDerivation ({
# Be sure that the Xcode wrapper has priority over everything else. # Be sure that the Xcode wrapper has priority over everything else.
# When using buildInputs this does not seem to be the case. # When using buildInputs this does not seem to be the case.
export PATH=${xcodewrapper}/bin:$PATH export PATH=${xcodewrapper}/bin:$PATH
${stdenv.lib.optionalString release '' ${stdenv.lib.optionalString release ''
export HOME=/Users/$(whoami) export HOME=/Users/$(whoami)
keychainName="$(basename $out)" keychainName="$(basename $out)"
@ -69,7 +69,7 @@ stdenv.mkDerivation ({
security unlock-keychain -p "" $keychainName security unlock-keychain -p "" $keychainName
# Import the certificate into the keychain # Import the certificate into the keychain
security import ${certificateFile} -k $keychainName -P "${certificatePassword}" -A security import ${certificateFile} -k $keychainName -P "${certificatePassword}" -A
# Grant the codesign utility permissions to read from the keychain # Grant the codesign utility permissions to read from the keychain
security set-key-partition-list -S apple-tool:,apple: -s -k "" $keychainName security set-key-partition-list -S apple-tool:,apple: -s -k "" $keychainName

View file

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
sha256 = "3ce1a53fa452ff5a9ba618864d3bc46ef32190b57202d1e996ca7df837ad4f24"; sha256 = "3ce1a53fa452ff5a9ba618864d3bc46ef32190b57202d1e996ca7df837ad4f24";
}; };
makeFlags = [ makeFlags = [
"DESTDIR=$(out)/lib/ocaml/${ocaml.version}/site-lib/gmp" "DESTDIR=$(out)/lib/ocaml/${ocaml.version}/site-lib/gmp"
]; ];

View file

@ -17,8 +17,8 @@ stdenv.mkDerivation rec {
sha256 = "06mb2bq7v37wn0lza61917zqgb4bsg1xxb73myjyn88p6khl6yl2"; sha256 = "06mb2bq7v37wn0lza61917zqgb4bsg1xxb73myjyn88p6khl6yl2";
}; };
configureFlags = [ configureFlags = [
"--prefix=$out" "--prefix=$out"
"--libdir=$out/lib/ocaml/${ocaml.version}/site-lib/mysql" "--libdir=$out/lib/ocaml/${ocaml.version}/site-lib/mysql"
]; ];

View file

@ -11,11 +11,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "colorcet"; pname = "colorcet";
version = "2.0.2"; version = "2.0.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1vkx00im4s6zhr2m1j9r0a5vmhkl488b4xpzxb1pidbl19wi6j2i"; sha256 = "efa44b6f4078261e62d0039c76aba17ac8d3ebaf0bc2291a111aee3905313433";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -33,8 +33,8 @@ buildPythonPackage rec {
name = "conftest-astropy-3-fix.patch"; name = "conftest-astropy-3-fix.patch";
url = "https://github.com/astropy/pyregion/pull/136.patch"; url = "https://github.com/astropy/pyregion/pull/136.patch";
sha256 = "13yxjxiqnhjy9gh24hvv6pnwx7qic2mcx3ccr1igjrc3f881d59m"; sha256 = "13yxjxiqnhjy9gh24hvv6pnwx7qic2mcx3ccr1igjrc3f881d59m";
}) })
]; ];
nativeBuildInputs = [ astropy-helpers ]; nativeBuildInputs = [ astropy-helpers ];

View file

@ -2,27 +2,27 @@
, buildPythonPackage , buildPythonPackage
, internetarchive , internetarchive
, fetchPypi , fetchPypi
, youtube-dlc , youtube-dl
, docopt , docopt
, isPy27 , isPy27
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "tubeup"; pname = "tubeup";
version = "0.0.20"; version = "0.0.21";
disabled = isPy27; disabled = isPy27;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "8bf4004629b8427173c8259e1a09065db99135d6cc390b70a8a67b52a34a3f67"; sha256 = "326a499be032bee7f7ed921d85abff4b3b4dcd2c3d6ad694f08ef98dbcef19b6";
}; };
postPatch = '' postPatch = ''
substituteInPlace setup.py --replace "docopt==0.6.2" "docopt" substituteInPlace setup.py --replace "docopt==0.6.2" "docopt"
''; '';
propagatedBuildInputs = [ internetarchive docopt youtube-dlc ]; propagatedBuildInputs = [ internetarchive docopt youtube-dl ];
pythonImportsCheck = [ "tubeup" ]; pythonImportsCheck = [ "tubeup" ];

View file

@ -1,23 +0,0 @@
{ lib, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "youtube_dlc";
version = "2020.11.11.post3";
src = fetchPypi {
inherit pname version;
sha256 = "WqoKpfvVPZrN+pW6s8JoApJusn5CXyPcg9VcsY8R0FM=";
};
# They are broken
doCheck = false;
pythonImportsCheck = [ "youtube_dlc" ];
meta = with lib; {
homepage = "Media downloader supporting various sites such as youtube";
description = "https://github.com/blackjack4494/yt-dlc";
platforms = platforms.linux;
maintainers = with maintainers; [ freezeboy ];
};
}

View file

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "pack"; pname = "pack";
version = "0.15.1"; version = "0.16.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "buildpacks"; owner = "buildpacks";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "026qy81hfblx98z9hip7gpqcfqgzfhm5bimg6p9gi5fd5wsbfs4c"; sha256 = "sha256-fNPgdMwqQq2Gh/rkf6KHEd34rnQqhw7Jf1L34oVorqM=";
}; };
vendorSha256 = "0i6nplh1papcmdzas9f8pkccsx5csbxxkvy5a6130jjbwdm14jw7"; vendorSha256 = "sha256-U38j5fxECKjYr5pqaNk0+Z0opQNqiYV2+6dIEaHUVF8=";
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];

View file

@ -33,7 +33,7 @@ in stdenv.mkDerivation rec {
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall
mkdir -p $out/share/squirrel-sql mkdir -p $out/share/squirrel-sql
cp -r . $out/share/squirrel-sql cp -r . $out/share/squirrel-sql
@ -55,7 +55,7 @@ in stdenv.mkDerivation rec {
ln -s $out/share/squirrel-sql/icons/acorn.png \ ln -s $out/share/squirrel-sql/icons/acorn.png \
$out/share/icons/hicolor/32x32/apps/squirrel-sql.png $out/share/icons/hicolor/32x32/apps/squirrel-sql.png
ln -s ${desktopItem}/share/applications $out/share ln -s ${desktopItem}/share/applications $out/share
runHook postInstall runHook postInstall
''; '';

View file

@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
installPhase = '' installPhase = ''
$makeCmd INSTALL_DIR=$out install $makeCmd INSTALL_DIR=$out install
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Ancillary tools for the D programming language compiler"; description = "Ancillary tools for the D programming language compiler";

View file

@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
}; };
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin
substitute gtk-mac-bundler.in $out/bin/gtk-mac-bundler \ substitute gtk-mac-bundler.in $out/bin/gtk-mac-bundler \
--subst-var-by PATH $out/share --subst-var-by PATH $out/share
chmod a+x $out/bin/gtk-mac-bundler chmod a+x $out/bin/gtk-mac-bundler

View file

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
rm bin/mn.bat rm bin/mn.bat
cp -r . $out cp -r . $out
wrapProgram $out/bin/mn \ wrapProgram $out/bin/mn \
--prefix JAVA_HOME : ${jdk} --prefix JAVA_HOME : ${jdk}
installShellCompletion --bash --name mn.bash bin/mn_completion installShellCompletion --bash --name mn.bash bin/mn_completion
runHook postInstall runHook postInstall
''; '';
@ -26,9 +26,9 @@ stdenv.mkDerivation rec {
longDescription = '' longDescription = ''
Micronaut is a modern, JVM-based, full stack microservices framework Micronaut is a modern, JVM-based, full stack microservices framework
designed for building modular, easily testable microservice applications. designed for building modular, easily testable microservice applications.
Reflection-based IoC frameworks load and cache reflection data for Reflection-based IoC frameworks load and cache reflection data for
every single field, method, and constructor in your code, whereas with every single field, method, and constructor in your code, whereas with
Micronaut, your application startup time and memory consumption are Micronaut, your application startup time and memory consumption are
not bound to the size of your codebase. not bound to the size of your codebase.
''; '';
homepage = "https://micronaut.io/"; homepage = "https://micronaut.io/";

View file

@ -20,7 +20,7 @@ mkDerivation rec {
installPhase = '' installPhase = ''
python build.py install --verbose --prefix="$out" python build.py install --verbose --prefix="$out"
wrapProgram $out/bin/gede \ wrapProgram $out/bin/gede \
--prefix PATH : ${lib.makeBinPath [ ctags gdb ]} --prefix PATH : ${lib.makeBinPath [ ctags gdb ]}
''; '';
meta = with lib; { meta = with lib; {

View file

@ -1,20 +1,20 @@
{ lib, fetchurl, ocamlPackages }: { lib, fetchurl, ocamlPackages }:
ocamlPackages.buildDunePackage rec { ocamlPackages.buildDunePackage rec {
pname = "obelisk"; pname = "obelisk";
version = "0.5.2"; version = "0.5.2";
useDune2 = true; useDune2 = true;
src = fetchurl { src = fetchurl {
url = "https://github.com/Lelio-Brun/Obelisk/releases/download/v${version}/obelisk-v${version}.tbz"; url = "https://github.com/Lelio-Brun/Obelisk/releases/download/v${version}/obelisk-v${version}.tbz";
sha256 = "0s86gkypyrkrp83xnay258ijri3yjwj3marsjnjf8mz58z0zd9g6"; sha256 = "0s86gkypyrkrp83xnay258ijri3yjwj3marsjnjf8mz58z0zd9g6";
}; };
buildInputs = with ocamlPackages; [ menhir re ]; buildInputs = with ocamlPackages; [ menhir re ];
meta = { meta = {
description = "A simple tool which produces pretty-printed output from a Menhir parser file (.mly)"; description = "A simple tool which produces pretty-printed output from a Menhir parser file (.mly)";
license = lib.licenses.mit; license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ]; maintainers = [ lib.maintainers.vbgl ];
homepage = "https://github.com/Lelio-Brun/Obelisk"; homepage = "https://github.com/Lelio-Brun/Obelisk";
}; };
} }

View file

@ -1,6 +1,6 @@
{ mkDerivation, lib, fetchurl, fetchgit, fetchpatch { mkDerivation, lib, fetchurl, fetchgit, fetchpatch
, qtbase, qtquickcontrols, qtscript, qtdeclarative, qmake, llvmPackages_8 , qtbase, qtquickcontrols, qtscript, qtdeclarative, qmake, llvmPackages_8
, withDocumentation ? false, withClangPlugins ? true , withDocumentation ? false, withClangPlugins ? true
}: }:
with lib; with lib;
@ -28,9 +28,9 @@ mkDerivation rec {
sha256 = "0ibn7bapw7m26nmxl26dns1hnpawfdqk1i1mgg0gjssja8famszg"; sha256 = "0ibn7bapw7m26nmxl26dns1hnpawfdqk1i1mgg0gjssja8famszg";
}; };
buildInputs = [ qtbase qtscript qtquickcontrols qtdeclarative ] ++ buildInputs = [ qtbase qtscript qtquickcontrols qtdeclarative ] ++
optionals withClangPlugins [ llvmPackages_8.libclang optionals withClangPlugins [ llvmPackages_8.libclang
clang_qt_vendor clang_qt_vendor
llvmPackages_8.llvm ]; llvmPackages_8.llvm ];
nativeBuildInputs = [ qmake ]; nativeBuildInputs = [ qmake ];
@ -38,7 +38,7 @@ mkDerivation rec {
# 0001-Fix-clang-libcpp-regexp.patch is for fixing regexp that is used to # 0001-Fix-clang-libcpp-regexp.patch is for fixing regexp that is used to
# find clang libc++ library include paths. By default it's not covering paths # find clang libc++ library include paths. By default it's not covering paths
# like libc++-version, which is default name for libc++ folder in nixos. # like libc++-version, which is default name for libc++ folder in nixos.
# ./0002-Dont-remove-clang-header-paths.patch is for forcing qtcreator to not # ./0002-Dont-remove-clang-header-paths.patch is for forcing qtcreator to not
# remove system clang include paths. # remove system clang include paths.
patches = [ ./0001-Fix-clang-libcpp-regexp.patch patches = [ ./0001-Fix-clang-libcpp-regexp.patch
./0002-Dont-remove-clang-header-paths.patch ]; ./0002-Dont-remove-clang-header-paths.patch ];
@ -53,7 +53,7 @@ mkDerivation rec {
preConfigure = '' preConfigure = ''
substituteInPlace src/plugins/plugins.pro \ substituteInPlace src/plugins/plugins.pro \
--replace '$$[QT_INSTALL_QML]/QtQuick/Controls' '${qtquickcontrols}/${qtbase.qtQmlPrefix}/QtQuick/Controls' --replace '$$[QT_INSTALL_QML]/QtQuick/Controls' '${qtquickcontrols}/${qtbase.qtQmlPrefix}/QtQuick/Controls'
'' + optionalString withClangPlugins '' '' + optionalString withClangPlugins ''
# Fix paths for llvm/clang includes directories. # Fix paths for llvm/clang includes directories.
substituteInPlace src/shared/clang/clang_defines.pri \ substituteInPlace src/shared/clang/clang_defines.pri \

View file

@ -34,7 +34,7 @@ let
for gem in "$out"/lib/ruby/gems/*/gems/*; do for gem in "$out"/lib/ruby/gems/*/gems/*; do
cp -a "$gem/" "$gem.new" cp -a "$gem/" "$gem.new"
rm "$gem" rm "$gem"
# needed on macOS, otherwise the mv yields permission denied # needed on macOS, otherwise the mv yields permission denied
chmod +w "$gem.new" chmod +w "$gem.new"
mv "$gem.new" "$gem" mv "$gem.new" "$gem"
done done

View file

@ -13,13 +13,13 @@ let
name = "mrrescue"; name = "mrrescue";
exec = pname; exec = pname;
icon = icon; icon = icon;
comment = "Arcade-style fire fighting game"; comment = "Arcade-style fire fighting game";
desktopName = "Mr. Rescue"; desktopName = "Mr. Rescue";
genericName = "mrrescue"; genericName = "mrrescue";
categories = "Game;"; categories = "Game;";
}; };
in in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "${pname}-${version}"; name = "${pname}-${version}";

View file

@ -13,7 +13,7 @@ let
name = "sienna"; name = "sienna";
exec = pname; exec = pname;
icon = icon; icon = icon;
comment = "Fast-paced one button platformer"; comment = "Fast-paced one button platformer";
desktopName = "Sienna"; desktopName = "Sienna";
genericName = "sienna"; genericName = "sienna";
categories = "Game;"; categories = "Game;";

View file

@ -14,13 +14,13 @@ let
name = "Vapor"; name = "Vapor";
exec = pname; exec = pname;
icon = icon; icon = icon;
comment = "LÖVE Distribution Client"; comment = "LÖVE Distribution Client";
desktopName = "Vapor"; desktopName = "Vapor";
genericName = "vapor"; genericName = "vapor";
categories = "Game;"; categories = "Game;";
}; };
in in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "${pname}-${version}"; name = "${pname}-${version}";

View file

@ -3,7 +3,7 @@ rec {
toPackages = pkgNames: pkgs: toPackages = pkgNames: pkgs:
map (pn: lib.getAttr pn pkgs) pkgNames; map (pn: lib.getAttr pn pkgs) pkgNames;
toBuildInputs = pkgArches: archPkgs: toBuildInputs = pkgArches: archPkgs:
lib.concatLists (map archPkgs pkgArches); lib.concatLists (map archPkgs pkgArches);
mkBuildInputs = pkgArches: pkgNames: mkBuildInputs = pkgArches: pkgNames:
toBuildInputs pkgArches (toPackages pkgNames); toBuildInputs pkgArches (toPackages pkgNames);
} }

View file

@ -1,6 +1,6 @@
{ stdenv, lib, glibcLocales, unzip, hasktags, ctags } : { { stdenv, lib, glibcLocales, unzip, hasktags, ctags } : {
# optional srcDir # optional srcDir
annotatedWithSourceAndTagInfo = x : (x ? passthru && x.passthru ? sourceWithTags annotatedWithSourceAndTagInfo = x : (x ? passthru && x.passthru ? sourceWithTags
|| x ? meta && x.meta ? sourceWithTags ); || x ? meta && x.meta ? sourceWithTags );
# hack because passthru doesn't work the way I'd expect. Don't have time to spend on this right now # hack because passthru doesn't work the way I'd expect. Don't have time to spend on this right now
# that's why I'm abusing meta for the same purpose in ghcsAndLibs # that's why I'm abusing meta for the same purpose in ghcsAndLibs
@ -10,7 +10,7 @@
# createTagFiles = [ { name = "my_tag_name_without_suffix", tagCmd = "ctags -R . -o \$TAG_FILE"; } ] # createTagFiles = [ { name = "my_tag_name_without_suffix", tagCmd = "ctags -R . -o \$TAG_FILE"; } ]
# tag command must create file named $TAG_FILE # tag command must create file named $TAG_FILE
sourceWithTagsDerivation = {name, src, srcDir ? ".", tagSuffix ? "_tags", createTagFiles ? []} : sourceWithTagsDerivation = {name, src, srcDir ? ".", tagSuffix ? "_tags", createTagFiles ? []} :
stdenv.mkDerivation { stdenv.mkDerivation {
phases = "unpackPhase buildPhase"; phases = "unpackPhase buildPhase";
inherit src srcDir tagSuffix; inherit src srcDir tagSuffix;
@ -72,7 +72,7 @@
addCTaggingInfo = deriv : addCTaggingInfo = deriv :
deriv // { deriv // {
passthru = { passthru = {
sourceWithTags = { sourceWithTags = {
inherit (deriv) src; inherit (deriv) src;

View file

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "pgroonga"; pname = "pgroonga";
version = "2.2.7"; version = "2.2.8";
src = fetchurl { src = fetchurl {
url = "https://packages.groonga.org/source/${pname}/${pname}-${version}.tar.gz"; url = "https://packages.groonga.org/source/${pname}/${pname}-${version}.tar.gz";
sha256 = "1rd3cxap9rqpg5y8y48r5bd7rki3lck6qsrb0bqdqm9xffnibw8j"; sha256 = "sha256-YDDO3t6ARbQv72QotjA7DNxOlRo2O5CYzrH+/eEzj3w=";
}; };
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];

View file

@ -30,9 +30,9 @@ buildGoPackage rec {
''; '';
postFixup = '' postFixup = ''
wrapProgram $out/bin/sga-guard \ wrapProgram $out/bin/sga-guard \
--prefix PATH : "$out/bin" \ --prefix PATH : "$out/bin" \
--prefix PATH : "${autossh}/bin" --prefix PATH : "${autossh}/bin"
''; '';
meta = with lib; { meta = with lib; {

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "lynis"; pname = "lynis";
version = "3.0.1"; version = "3.0.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "CISOfy"; owner = "CISOfy";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "0lsb455rimr1cjxqcgy819xjxf1faas8wlx2x0pxhn5yha9w9sfs"; sha256 = "sha256-+RkzsBcQhHrfY8gEiJK3ptDeulJzA3IuVXiYEpyAsmk=";
}; };
nativeBuildInputs = [ installShellFiles makeWrapper ]; nativeBuildInputs = [ installShellFiles makeWrapper ];

View file

@ -38,7 +38,7 @@ buildPythonApplication rec {
postInstall = '' postInstall = ''
# Remove this line when/if this PR gets merged: # Remove this line when/if this PR gets merged:
# https://github.com/gfduszynski/cm-rgb/pull/43 # https://github.com/gfduszynski/cm-rgb/pull/43
install -m0755 scripts/cm-rgb-gui $out/bin/cm-rgb-gui install -m0755 scripts/cm-rgb-gui $out/bin/cm-rgb-gui
mkdir -p $out/etc/udev/rules.d mkdir -p $out/etc/udev/rules.d

View file

@ -8341,8 +8341,6 @@ in {
phantomjsSupport = false; phantomjsSupport = false;
}; };
youtube-dlc = callPackage ../development/python-modules/youtube-dlc { };
yowsup = callPackage ../development/python-modules/yowsup { }; yowsup = callPackage ../development/python-modules/yowsup { };
yq = callPackage ../development/python-modules/yq { }; yq = callPackage ../development/python-modules/yq { };