Merge pull request #115197 from SuperSandro2000/fix-collection21

This commit is contained in:
Sandro 2021-03-06 04:56:45 +01:00 committed by GitHub
commit 9675484462
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
56 changed files with 244 additions and 223 deletions

View File

@ -1096,6 +1096,12 @@
githubId = 1432730; githubId = 1432730;
name = "Benjamin Staffin"; name = "Benjamin Staffin";
}; };
benneti = {
name = "Benedikt Tissot";
email = "benedikt.tissot@googlemail.com";
github = "benneti";
githubId = 11725645;
};
bennofs = { bennofs = {
email = "benno.fuenfstueck@gmail.com"; email = "benno.fuenfstueck@gmail.com";
github = "bennofs"; github = "bennofs";
@ -3095,6 +3101,12 @@
githubId = 9959940; githubId = 9959940;
name = "Andreas Fehn"; name = "Andreas Fehn";
}; };
felixscheinost = {
name = "Felix Scheinost";
email = "felix.scheinost@posteo.de";
github = "felixscheinost";
githubId = 31761492;
};
felixsinger = { felixsinger = {
email = "felixsinger@posteo.net"; email = "felixsinger@posteo.net";
github = "felixsinger"; github = "felixsinger";
@ -7255,6 +7267,12 @@
githubId = 13225611; githubId = 13225611;
name = "Nicolas Martin"; name = "Nicolas Martin";
}; };
p3psi = {
name = "Elliot Boo";
email = "p3psi.boo@gmail.com";
github = "p3psi-boo";
githubId = 43925055;
};
periklis = { periklis = {
email = "theopompos@gmail.com"; email = "theopompos@gmail.com";
github = "periklis"; github = "periklis";
@ -10826,22 +10844,4 @@
github = "zupo"; github = "zupo";
githubId = 311580; githubId = 311580;
}; };
felixscheinost = {
name = "Felix Scheinost";
email = "felix.scheinost@posteo.de";
github = "felixscheinost";
githubId = 31761492;
};
benneti = {
name = "Benedikt Tissot";
email = "benedikt.tissot@googlemail.com";
github = "benneti";
githubId = 11725645;
};
p3psi = {
name = "Elliot Boo";
email = "p3psi.boo@gmail.com";
github = "p3psi-boo";
githubId = 43925055;
};
} }

View File

@ -1,10 +1,10 @@
{ lib, fetchFromGitHub, rustPackages, pkg-config, openssl { lib, fetchFromGitHub, rustPackages, pkg-config, openssl
, withALSA ? true, alsaLib ? null , withALSA ? true, alsaLib
, withPulseAudio ? false, libpulseaudio ? null , withPulseAudio ? false, libpulseaudio
, withPortAudio ? false, portaudio ? null , withPortAudio ? false, portaudio
, withMpris ? false , withMpris ? false
, withKeyring ? false , withKeyring ? false
, dbus ? null , dbus
}: }:
rustPackages.rustPlatform.buildRustPackage rec { rustPackages.rustPlatform.buildRustPackage rec {

View File

@ -22,7 +22,7 @@ buildPythonApplication rec {
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [
gmusicapi gmusicapi
google_api_python_client google-api-python-client
mpv mpv
pydbus pydbus
pygobject3 pygobject3

View File

@ -21,7 +21,7 @@ buildPythonApplication rec {
propagatedBuildInputs = [ propagatedBuildInputs = [
dateutil gflags httplib2 parsedatetime six vobject dateutil gflags httplib2 parsedatetime six vobject
google_api_python_client oauth2client uritemplate google-api-python-client oauth2client uritemplate
libnotify libnotify
] ++ lib.optional (!isPy3k) futures; ] ++ lib.optional (!isPy3k) futures;

View File

@ -1,6 +1,4 @@
{ { lib, fetchFromGitHub, makeDesktopItem, prusa-slicer }:
lib, fetchFromGitHub, makeDesktopItem, prusa-slicer
}:
let let
appname = "SuperSlicer"; appname = "SuperSlicer";
version = "2.2.54.2"; version = "2.2.54.2";

View File

@ -22,7 +22,7 @@ mkDerivationWith pythonPackages.buildPythonApplication rec {
cjson cjson
sipsimple sipsimple
twisted twisted
google_api_python_client google-api-python-client
]; ];
buildInputs = [ buildInputs = [

View File

@ -14,7 +14,7 @@ python3Packages.buildPythonApplication rec {
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [
notmuch notmuch
oauth2client oauth2client
google_api_python_client google-api-python-client
tqdm tqdm
setuptools setuptools
]; ];

View File

@ -1,14 +1,13 @@
{ { glib
glib, , haskellPackages
haskellPackages, , lib
lib, , nodePackages
nodePackages, , perlPackages
perlPackages, , python2Packages
python2Packages, , python3Packages
python3Packages, , runCommand
runCommand, , writers
writers, , writeText
writeText
}: }:
with writers; with writers;
let let

View File

@ -13,14 +13,14 @@ in fetchzip {
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
''; '';
meta = { meta = with lib; {
description = "A monospaced font for scientific and technical computing"; description = "A monospaced font for scientific and technical computing";
longDescription = '' longDescription = ''
JuliaMono is a monospaced typeface designed for use in text editing environments that require a wide range of specialist and technical Unicode characters. It was intended as a fun experiment to be presented at the 2020 JuliaCon conference in Lisbon, Portugal (which of course didnt physically happen in Lisbon, but online). JuliaMono is a monospaced typeface designed for use in text editing environments that require a wide range of specialist and technical Unicode characters. It was intended as a fun experiment to be presented at the 2020 JuliaCon conference in Lisbon, Portugal (which of course didnt physically happen in Lisbon, but online).
''; '';
maintainers = with lib.maintainers; [ suhr ]; maintainers = with maintainers; [ suhr ];
platforms = with lib.platforms; all; platforms = with platforms; all;
homepage = "https://cormullion.github.io/pages/2020-07-26-JuliaMono/"; homepage = "https://cormullion.github.io/pages/2020-07-26-JuliaMono/";
license = lib.licenses.ofl; license = licenses.ofl;
}; };
} }

View File

@ -1,4 +1,4 @@
{ lib, stdenv, substituteAll, fetchFromGitHub, taskwarrior, gettext, runtimeShell, gnome3 }: { lib, stdenv, substituteAll, fetchFromGitHub, taskwarrior, gettext, runtimeShell }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-shell-extension-taskwhisperer"; pname = "gnome-shell-extension-taskwhisperer";

View File

@ -1,7 +1,5 @@
{ lib, stdenv, fetchFromGitHub, icestorm }: { lib, stdenv, fetchFromGitHub, icestorm }:
with builtins;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "arachne-pnr"; pname = "arachne-pnr";
version = "2019.07.29"; version = "2019.07.29";
@ -14,17 +12,17 @@ stdenv.mkDerivation rec {
}; };
enableParallelBuilding = true; enableParallelBuilding = true;
makeFlags = makeFlags = [
[ "PREFIX=$(out)" "PREFIX=$(out)"
"ICEBOX=${icestorm}/share/icebox" "ICEBOX=${icestorm}/share/icebox"
]; ];
patchPhase = '' postPatch = ''
substituteInPlace ./Makefile \ substituteInPlace ./Makefile \
--replace 'echo UNKNOWN' 'echo ${substring 0 10 src.rev}' --replace 'echo UNKNOWN' 'echo ${lib.substring 0 10 src.rev}'
''; '';
meta = { meta = with lib; {
description = "Place and route tool for FPGAs"; description = "Place and route tool for FPGAs";
longDescription = '' longDescription = ''
Arachne-pnr implements the place and route step of Arachne-pnr implements the place and route step of
@ -37,8 +35,8 @@ stdenv.mkDerivation rec {
the IceStorm [2] icepack command. the IceStorm [2] icepack command.
''; '';
homepage = "https://github.com/cseed/arachne-pnr"; homepage = "https://github.com/cseed/arachne-pnr";
license = lib.licenses.mit; license = licenses.mit;
maintainers = with lib.maintainers; [ shell thoughtpolice ]; maintainers = with maintainers; [ shell thoughtpolice ];
platforms = lib.platforms.unix; platforms = platforms.unix;
}; };
} }

View File

@ -1,18 +1,8 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, premake4 }: { lib, stdenv, fetchFromGitHub, fetchpatch, premake4 }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "bootil-unstable-2015-12-17"; pname = "bootil";
version = "unstable-2015-12-17";
meta = {
description = "Garry Newman's personal utility library";
homepage = "https://github.com/garrynewman/bootil";
# License unsure - see https://github.com/garrynewman/bootil/issues/21
license = lib.licenses.free;
maintainers = [ lib.maintainers.abigailbuccaneer ];
platforms = lib.platforms.all;
# Build uses `-msse` and `-mfpmath=sse`
badPlatforms = [ "aarch64-linux" ];
};
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "garrynewman"; owner = "garrynewman";
@ -21,11 +11,13 @@ stdenv.mkDerivation {
sha256 = "03wq526r80l2px797hd0n5m224a6jibwipcbsvps6l9h740xabzg"; sha256 = "03wq526r80l2px797hd0n5m224a6jibwipcbsvps6l9h740xabzg";
}; };
patches = [ (fetchpatch { patches = [
(fetchpatch {
url = "https://github.com/garrynewman/bootil/pull/22.patch"; url = "https://github.com/garrynewman/bootil/pull/22.patch";
name = "github-pull-request-22.patch"; name = "github-pull-request-22.patch";
sha256 = "1qf8wkv00pb9w1aa0dl89c8gm4rmzkxfl7hidj4gz0wpy7a24qa2"; sha256 = "1qf8wkv00pb9w1aa0dl89c8gm4rmzkxfl7hidj4gz0wpy7a24qa2";
}) ]; })
];
# Avoid guessing where files end up. Just use current directory. # Avoid guessing where files end up. Just use current directory.
postPatch = '' postPatch = ''
@ -42,4 +34,15 @@ stdenv.mkDerivation {
install -D libbootil_static.a $out/lib/libbootil_static.a install -D libbootil_static.a $out/lib/libbootil_static.a
cp -r include $out cp -r include $out
''; '';
meta = with lib; {
description = "Garry Newman's personal utility library";
homepage = "https://github.com/garrynewman/bootil";
# License unsure - see https://github.com/garrynewman/bootil/issues/21
license = licenses.free;
maintainers = [ maintainers.abigailbuccaneer ];
platforms = platforms.all;
# Build uses `-msse` and `-mfpmath=sse`
badPlatforms = [ "aarch64-linux" ];
};
} }

View File

@ -1,19 +1,19 @@
{lib, stdenv, fetchurl}: {lib, stdenv, fetchurl}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "4.0";
pname = "cpputest"; pname = "cpputest";
version = "4.0";
src = fetchurl { src = fetchurl {
url = "https://github.com/cpputest/cpputest/releases/download/v${version}/${pname}-${version}.tar.gz"; url = "https://github.com/cpputest/cpputest/releases/download/v${version}/${pname}-${version}.tar.gz";
sha256 = "1xslavlb1974y5xvs8n1j9zkk05dlw8imy4saasrjlmibl895ii1"; sha256 = "1xslavlb1974y5xvs8n1j9zkk05dlw8imy4saasrjlmibl895ii1";
}; };
meta = { meta = with lib; {
homepage = "http://cpputest.github.io/"; homepage = "https://cpputest.github.io/";
description = "Unit testing and mocking framework for C/C++"; description = "Unit testing and mocking framework for C/C++";
platforms = lib.platforms.linux ; platforms = platforms.linux ;
license = lib.licenses.bsd3; license = licenses.bsd3;
maintainers = [ lib.maintainers.juliendehos ]; maintainers = [ maintainers.juliendehos ];
}; };
} }

View File

@ -1,4 +1,5 @@
{ lib, stdenv { lib
, stdenv
, fetchurl , fetchurl
, meson , meson
, ninja , ninja
@ -10,7 +11,7 @@
, gobject-introspection , gobject-introspection
, enableZbar ? false , enableZbar ? false
, faacSupport ? false , faacSupport ? false
, faac ? null , faac
, faad2 , faad2
, libass , libass
, libkate , libkate
@ -34,7 +35,6 @@
, bluez , bluez
, chromaprint , chromaprint
, curl , curl
, darwin
, directfb , directfb
, fdk_aac , fdk_aac
, flite , flite
@ -80,20 +80,23 @@
, libxml2 , libxml2
, srt , srt
, vo-aacenc , vo-aacenc
, VideoToolbox
, AudioToolbox
, AVFoundation
, CoreMedia
, CoreVideo
, Foundation
, MediaToolbox
}: }:
assert faacSupport -> faac != null; stdenv.mkDerivation rec {
let
inherit (lib) optional optionals;
in stdenv.mkDerivation rec {
pname = "gst-plugins-bad"; pname = "gst-plugins-bad";
version = "1.18.2"; version = "1.18.2";
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
src = fetchurl { src = fetchurl {
url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz"; url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz";
sha256 = "06ildd4rl6cynirv3p00d2ddf5is9svj4i7mkahldzhq24pq5mca"; sha256 = "06ildd4rl6cynirv3p00d2ddf5is9svj4i7mkahldzhq24pq5mca";
}; };
@ -110,7 +113,7 @@ in stdenv.mkDerivation rec {
python3 python3
gettext gettext
gobject-introspection gobject-introspection
] ++ optionals stdenv.isLinux [ ] ++ lib.optionals stdenv.isLinux [
wayland # for wayland-scanner wayland # for wayland-scanner
]; ];
@ -166,16 +169,16 @@ in stdenv.mkDerivation rec {
libintl libintl
srt srt
vo-aacenc vo-aacenc
] ++ optionals enableZbar [ ] ++ lib.optionals enableZbar [
zbar zbar
] ++ optionals faacSupport [ ] ++ lib.optionals faacSupport [
faac faac
] ++ optionals stdenv.isLinux [ ] ++ lib.optionals stdenv.isLinux [
bluez bluez
libva # vaapi requires libva -> libdrm -> libpciaccess, which is Linux-only in nixpkgs libva # vaapi requires libva -> libdrm -> libpciaccess, which is Linux-only in nixpkgs
wayland wayland
wayland-protocols wayland-protocols
] ++ optionals (!stdenv.isDarwin) [ ] ++ lib.optionals (!stdenv.isDarwin) [
# wildmidi requires apple's OpenAL # wildmidi requires apple's OpenAL
# TODO: package apple's OpenAL, fix wildmidi, include on Darwin # TODO: package apple's OpenAL, fix wildmidi, include on Darwin
wildmidi wildmidi
@ -202,7 +205,7 @@ in stdenv.mkDerivation rec {
serd serd
sord sord
sratom sratom
] ++ optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ ] ++ lib.optionals stdenv.isDarwin [
# For unknown reasons the order is important, e.g. if # For unknown reasons the order is important, e.g. if
# VideoToolbox is last, we get: # VideoToolbox is last, we get:
# fatal error: 'VideoToolbox/VideoToolbox.h' file not found # fatal error: 'VideoToolbox/VideoToolbox.h' file not found
@ -213,7 +216,7 @@ in stdenv.mkDerivation rec {
CoreVideo CoreVideo
Foundation Foundation
MediaToolbox MediaToolbox
]); ];
mesonFlags = [ mesonFlags = [
"-Dexamples=disabled" # requires many dependencies and probably not useful for our users "-Dexamples=disabled" # requires many dependencies and probably not useful for our users
@ -251,10 +254,10 @@ in stdenv.mkDerivation rec {
"-Dwpe=disabled" # required `wpe-webkit` library not packaged in nixpkgs as of writing "-Dwpe=disabled" # required `wpe-webkit` library not packaged in nixpkgs as of writing
"-Dzxing=disabled" # required `zxing-cpp` library not packaged in nixpkgs as of writing "-Dzxing=disabled" # required `zxing-cpp` library not packaged in nixpkgs as of writing
] ]
++ optionals (!stdenv.isLinux) [ ++ lib.optionals (!stdenv.isLinux) [
"-Dva=disabled" # see comment on `libva` in `buildInputs` "-Dva=disabled" # see comment on `libva` in `buildInputs`
] ]
++ optionals stdenv.isDarwin [ ++ lib.optionals stdenv.isDarwin [
"-Dbluez=disabled" "-Dbluez=disabled"
"-Dchromaprint=disabled" "-Dchromaprint=disabled"
"-Ddirectfb=disabled" "-Ddirectfb=disabled"
@ -271,11 +274,11 @@ in stdenv.mkDerivation rec {
"-Dladspa=disabled" # requires lrdf "-Dladspa=disabled" # requires lrdf
"-Dwebrtc=disabled" # requires libnice, which as of writing doesn't work on Darwin in nixpkgs "-Dwebrtc=disabled" # requires libnice, which as of writing doesn't work on Darwin in nixpkgs
"-Dwildmidi=disabled" # see dependencies above "-Dwildmidi=disabled" # see dependencies above
] ++ optionals (!gst-plugins-base.glEnabled) [ ] ++ lib.optionals (!gst-plugins-base.glEnabled) [
"-Dgl=disabled"] "-Dgl=disabled"
++ optionals (!gst-plugins-base.waylandEnabled) [ ] ++ lib.optionals (!gst-plugins-base.waylandEnabled) [
"-Dwayland=disabled" "-Dwayland=disabled"
] ++ optionals (!gst-plugins-base.glEnabled) [ ] ++ lib.optionals (!gst-plugins-base.glEnabled) [
# `applemedia/videotexturecache.h` requires `gst/gl/gl.h`, # `applemedia/videotexturecache.h` requires `gst/gl/gl.h`,
# but its meson build system does not declare the dependency. # but its meson build system does not declare the dependency.
"-Dapplemedia=disabled" "-Dapplemedia=disabled"

View File

@ -31,7 +31,8 @@
# errors. Suspected is that a newer version than clang # errors. Suspected is that a newer version than clang
# is needed than 5.0 but it is not clear. # is needed than 5.0 but it is not clear.
, enableCocoa ? false , enableCocoa ? false
, darwin , Cocoa
, OpenGL
, enableGl ? (enableX11 || enableWayland || enableCocoa) , enableGl ? (enableX11 || enableWayland || enableCocoa)
, enableCdparanoia ? (!stdenv.isDarwin) , enableCdparanoia ? (!stdenv.isDarwin)
, cdparanoia , cdparanoia
@ -45,7 +46,7 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
src = fetchurl { src = fetchurl {
url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz"; url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz";
sha256 = "1b05kg46azrxxvq42c71071lfsnc34pw4vynnkczdqi6g0gzn16x"; sha256 = "1b05kg46azrxxvq42c71071lfsnc34pw4vynnkczdqi6g0gzn16x";
}; };
@ -81,7 +82,7 @@ stdenv.mkDerivation rec {
libvisual libvisual
] ++ lib.optionals stdenv.isDarwin [ ] ++ lib.optionals stdenv.isDarwin [
pango pango
darwin.apple_sdk.frameworks.OpenGL OpenGL
] ++ lib.optionals enableAlsa [ ] ++ lib.optionals enableAlsa [
alsaLib alsaLib
] ++ lib.optionals enableX11 [ ] ++ lib.optionals enableX11 [
@ -91,7 +92,7 @@ stdenv.mkDerivation rec {
] ++ lib.optionals enableWayland [ ] ++ lib.optionals enableWayland [
wayland wayland
wayland-protocols wayland-protocols
] ++ lib.optional enableCocoa darwin.apple_sdk.frameworks.Cocoa ] ++ lib.optional enableCocoa Cocoa
++ lib.optional enableCdparanoia cdparanoia; ++ lib.optional enableCdparanoia cdparanoia;
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
outputBin = "dev"; outputBin = "dev";
src = fetchurl { src = fetchurl {
url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz"; url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz";
sha256 = "0ijlmvr660m8zn09xlmnq1ajrziqsivp2hig5a9mabhcjx7ypkb6"; sha256 = "0ijlmvr660m8zn09xlmnq1ajrziqsivp2hig5a9mabhcjx7ypkb6";
}; };

View File

@ -1,17 +1,17 @@
{ callPackage, CoreServices }: { callPackage, AudioToolbox, AVFoundation, Cocoa, CoreFoundation, CoreMedia, CoreServices, CoreVideo, DiskArbitration, Foundation, IOKit, MediaToolbox, OpenGL, VideoToolbox }:
rec { rec {
gstreamer = callPackage ./core { inherit CoreServices; }; gstreamer = callPackage ./core { inherit CoreServices; };
gstreamermm = callPackage ./gstreamermm { }; gstreamermm = callPackage ./gstreamermm { };
gst-plugins-base = callPackage ./base { inherit gstreamer; }; gst-plugins-base = callPackage ./base { inherit gstreamer Cocoa OpenGL; };
gst-plugins-good = callPackage ./good { inherit gst-plugins-base; }; gst-plugins-good = callPackage ./good { inherit gst-plugins-base Cocoa; };
gst-plugins-bad = callPackage ./bad { inherit gst-plugins-base; }; gst-plugins-bad = callPackage ./bad { inherit gst-plugins-base AudioToolbox AVFoundation CoreMedia CoreVideo Foundation MediaToolbox VideoToolbox; };
gst-plugins-ugly = callPackage ./ugly { inherit gst-plugins-base; }; gst-plugins-ugly = callPackage ./ugly { inherit gst-plugins-base CoreFoundation DiskArbitration IOKit; };
gst-rtsp-server = callPackage ./rtsp-server { inherit gst-plugins-base gst-plugins-bad; }; gst-rtsp-server = callPackage ./rtsp-server { inherit gst-plugins-base gst-plugins-bad; };

View File

@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
version = "1.18.2"; version = "1.18.2";
src = fetchurl { src = fetchurl {
url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz"; url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz";
sha256 = "0mhascwvgirgh7b5dykpnk06f7f5g62gh3sl30i6kygiidqkv9vf"; sha256 = "0mhascwvgirgh7b5dykpnk06f7f5g62gh3sl30i6kygiidqkv9vf";
}; };

View File

@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
]; ];
src = fetchurl { src = fetchurl {
url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz"; url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz";
sha256 = "0pv2k8zlpn3vv2sdlspi3m63ixcwzi90pjly2ypbkg59ab97rb15"; sha256 = "0pv2k8zlpn3vv2sdlspi3m63ixcwzi90pjly2ypbkg59ab97rb15";
}; };

View File

@ -25,13 +25,13 @@
, libsoup , libsoup
, libpulseaudio , libpulseaudio
, libintl , libintl
, darwin , Cocoa
, lame , lame
, mpg123 , mpg123
, twolame , twolame
, gtkSupport ? false, gtk3 ? null , gtkSupport ? false, gtk3
, qt5Support ? false, qt5 ? null , qt5Support ? false, qt5
, raspiCameraSupport ? false, libraspberrypi ? null , raspiCameraSupport ? false, libraspberrypi
, enableJack ? true, libjack2 , enableJack ? true, libjack2
, libXdamage , libXdamage
, libXext , libXext
@ -44,12 +44,8 @@
, wavpack , wavpack
}: }:
assert gtkSupport -> gtk3 != null; assert raspiCameraSupport -> (stdenv.isLinux && stdenv.isAarch64);
assert raspiCameraSupport -> ((libraspberrypi != null) && stdenv.isLinux && stdenv.isAarch64);
let
inherit (lib) optionals;
in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gst-plugins-good"; pname = "gst-plugins-good";
version = "1.18.2"; version = "1.18.2";
@ -57,7 +53,7 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
src = fetchurl { src = fetchurl {
url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz"; url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz";
sha256 = "1929nhjsvbl4bw37nfagnfsnxz737cm2x3ayz9ayrn9lwkfm45zp"; sha256 = "1929nhjsvbl4bw37nfagnfsnxz737cm2x3ayz9ayrn9lwkfm45zp";
}; };
@ -68,7 +64,7 @@ stdenv.mkDerivation rec {
ninja ninja
gettext gettext
nasm nasm
] ++ optionals stdenv.isLinux [ ] ++ lib.optionals stdenv.isLinux [
wayland-protocols wayland-protocols
]; ];
@ -98,39 +94,39 @@ stdenv.mkDerivation rec {
xorg.libXfixes xorg.libXfixes
xorg.libXdamage xorg.libXdamage
wavpack wavpack
] ++ optionals raspiCameraSupport [ ] ++ lib.optionals raspiCameraSupport [
libraspberrypi libraspberrypi
] ++ optionals gtkSupport [ ] ++ lib.optionals gtkSupport [
# for gtksink # for gtksink
gtk3 gtk3
] ++ optionals qt5Support (with qt5; [ ] ++ lib.optionals qt5Support (with qt5; [
qtbase qtbase
qtdeclarative qtdeclarative
qtwayland qtwayland
qtx11extras qtx11extras
]) ++ optionals stdenv.isDarwin [ ]) ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Cocoa Cocoa
] ++ optionals stdenv.isLinux [ ] ++ lib.optionals stdenv.isLinux [
libv4l libv4l
libpulseaudio libpulseaudio
libavc1394 libavc1394
libiec61883 libiec61883
libgudev libgudev
wayland wayland
] ++ optionals enableJack [ ] ++ lib.optionals enableJack [
libjack2 libjack2
]; ];
mesonFlags = [ mesonFlags = [
"-Dexamples=disabled" # requires many dependencies and probably not useful for our users "-Dexamples=disabled" # requires many dependencies and probably not useful for our users
"-Ddoc=disabled" # `hotdoc` not packaged in nixpkgs as of writing "-Ddoc=disabled" # `hotdoc` not packaged in nixpkgs as of writing
] ++ optionals (!qt5Support) [ ] ++ lib.optionals (!qt5Support) [
"-Dqt5=disabled" "-Dqt5=disabled"
] ++ optionals (!gtkSupport) [ ] ++ lib.optionals (!gtkSupport) [
"-Dgtk3=disabled" "-Dgtk3=disabled"
] ++ optionals (!enableJack) [ ] ++ lib.optionals (!enableJack) [
"-Djack=disabled" "-Djack=disabled"
] ++ optionals (!stdenv.isLinux) [ ] ++ lib.optionals (!stdenv.isLinux) [
"-Ddv1394=disabled" # Linux only "-Ddv1394=disabled" # Linux only
"-Doss4=disabled" # Linux only "-Doss4=disabled" # Linux only
"-Doss=disabled" # Linux only "-Doss=disabled" # Linux only
@ -138,7 +134,7 @@ stdenv.mkDerivation rec {
"-Dv4l2-gudev=disabled" # Linux-only "-Dv4l2-gudev=disabled" # Linux-only
"-Dv4l2=disabled" # Linux-only "-Dv4l2=disabled" # Linux-only
"-Dximagesrc=disabled" # Linux-only "-Dximagesrc=disabled" # Linux-only
] ++ optionals (!raspiCameraSupport) [ ] ++ lib.optionals (!raspiCameraSupport) [
"-Drpicamsrc=disabled" "-Drpicamsrc=disabled"
]; ];

View File

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
version = "1.18.2"; version = "1.18.2";
src = fetchurl { src = fetchurl {
url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz"; url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz";
sha256 = "0jbzams9ggk3sq9ywv4gsl9rghyn203l2582m6l5c1sz9ka9m5in"; sha256 = "0jbzams9ggk3sq9ywv4gsl9rghyn203l2582m6l5c1sz9ka9m5in";
}; };

View File

@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
version = "1.18.2"; version = "1.18.2";
src = fetchurl { src = fetchurl {
url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz"; url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz";
sha256 = "1qjlp7az0hkzxvq53hwnp55sp6xhbybfwzaj66hp45jslsmj4fcp"; sha256 = "1qjlp7az0hkzxvq53hwnp55sp6xhbybfwzaj66hp45jslsmj4fcp";
}; };

View File

@ -16,7 +16,9 @@
, libintl , libintl
, lib , lib
, opencore-amr , opencore-amr
, darwin , IOKit
, CoreFoundation
, DiskArbitration
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -26,7 +28,7 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
src = fetchurl { src = fetchurl {
url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz"; url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz";
sha256 = "1nwbcv5yaib3d8icvyja3zf6lyjf5zf1hndbijrhj8j7xlia0dx3"; sha256 = "1nwbcv5yaib3d8icvyja3zf6lyjf5zf1hndbijrhj8j7xlia0dx3";
}; };
@ -49,11 +51,11 @@ stdenv.mkDerivation rec {
x264 x264
libintl libintl
opencore-amr opencore-amr
] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ ] ++ lib.optionals stdenv.isDarwin [
IOKit IOKit
CoreFoundation CoreFoundation
DiskArbitration DiskArbitration
]); ];
mesonFlags = [ mesonFlags = [
"-Ddoc=disabled" # `hotdoc` not packaged in nixpkgs as of writing "-Ddoc=disabled" # `hotdoc` not packaged in nixpkgs as of writing

View File

@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
version = "1.18.2"; version = "1.18.2";
src = fetchurl { src = fetchurl {
url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz"; url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz";
sha256 = "1h67n7wk1297rzynknbyv44gdacblvkcvb37x8yxi5d0zms2qywc"; sha256 = "1h67n7wk1297rzynknbyv44gdacblvkcvb37x8yxi5d0zms2qywc";
}; };

View File

@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
patchShebangs ./configure patchShebangs ./configure
''; '';
configureFlags = lib.optionals stdenv.isAarch64 [ "--disable-sse" ];
meta = with lib; { meta = with lib; {
homepage = "https://pngquant.org/lib/"; homepage = "https://pngquant.org/lib/";
description = "Image quantization library"; description = "Image quantization library";

View File

@ -18,7 +18,7 @@ in stdenv.mkDerivation rec {
version = "${majorVersion}.${minorVersion}"; version = "${majorVersion}.${minorVersion}";
src = fetchurl { src = fetchurl {
url = "${meta.homepage}files/release/${majorVersion}/VTK-${version}.tar.gz"; url = "https://www.vtk.org/files/release/${majorVersion}/VTK-${version}.tar.gz";
sha256 = sourceSha256; sha256 = sourceSha256;
}; };
@ -94,6 +94,6 @@ in stdenv.mkDerivation rec {
maintainers = with maintainers; [ knedlsepp tfmoraes lheckemann ]; maintainers = with maintainers; [ knedlsepp tfmoraes lheckemann ];
platforms = with platforms; unix; platforms = with platforms; unix;
# /nix/store/xxxxxxx-apple-framework-Security/Library/Frameworks/Security.framework/Headers/Authorization.h:192:7: error: variably modified 'bytes' at file scope # /nix/store/xxxxxxx-apple-framework-Security/Library/Frameworks/Security.framework/Headers/Authorization.h:192:7: error: variably modified 'bytes' at file scope
broken = if stdenv.isDarwin && (majorVersion == 7 || majorVersion == 8) then true else false; broken = stdenv.isDarwin && (lib.versions.major majorVersion == "7" || lib.versions.major majorVersion == "8");
}; };
} }

View File

@ -6,7 +6,7 @@
, bottle , bottle
, chardet , chardet
, dateutil , dateutil
, google_api_python_client , google-api-python-client
, lxml , lxml
, oauth2client , oauth2client
, ply , ply
@ -34,7 +34,7 @@ buildPythonPackage rec {
bottle bottle
chardet chardet
dateutil dateutil
google_api_python_client google-api-python-client
lxml lxml
oauth2client oauth2client
ply ply

View File

@ -21,5 +21,7 @@ buildPythonPackage rec {
homepage = "https://bitbucket.org/sgillies/descartes/"; homepage = "https://bitbucket.org/sgillies/descartes/";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ knedlsepp ]; maintainers = with maintainers; [ knedlsepp ];
# all tests are failing
broken = true;
}; };
} }

View File

@ -8,7 +8,7 @@
, six , six
, dateutil , dateutil
, fusepy , fusepy
, google_api_python_client , google-api-python-client
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -22,7 +22,7 @@ buildPythonPackage rec {
}; };
buildInputs = [ gipc greenlet httplib2 six ]; buildInputs = [ gipc greenlet httplib2 six ];
propagatedBuildInputs = [ dateutil fusepy google_api_python_client ]; propagatedBuildInputs = [ dateutil fusepy google-api-python-client ];
patchPhase = '' patchPhase = ''
substituteInPlace gdrivefs/resources/requirements.txt \ substituteInPlace gdrivefs/resources/requirements.txt \

View File

@ -1,6 +1,6 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k { lib, buildPythonPackage, fetchPypi, isPy3k
, docutils, installShellFiles , docutils, installShellFiles
, google_api_python_client, simplejson, oauth2client, setuptools, xdg , google-api-python-client, simplejson, oauth2client, setuptools, xdg
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -15,7 +15,7 @@ buildPythonPackage rec {
nativeBuildInputs = [ docutils installShellFiles ]; nativeBuildInputs = [ docutils installShellFiles ];
propagatedBuildInputs = [ propagatedBuildInputs = [
google_api_python_client simplejson oauth2client setuptools xdg google-api-python-client simplejson oauth2client setuptools xdg
]; ];
postInstall = '' postInstall = ''

View File

@ -2,7 +2,7 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, google-auth , google-auth
, googleapis_common_protos , googleapis-common-protos
, grpcio , grpcio
, protobuf , protobuf
, pytz , pytz
@ -23,7 +23,7 @@ buildPythonPackage rec {
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
googleapis_common_protos googleapis-common-protos
google-auth google-auth
grpcio grpcio
protobuf protobuf

View File

@ -2,7 +2,7 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, grpcio , grpcio
, googleapis_common_protos , googleapis-common-protos
, pytest , pytest
}: }:
@ -15,7 +15,7 @@ buildPythonPackage rec {
sha256 = "0bfb5b56f648f457021a91c0df0db4934b6e0c300bd0f2de2333383fe958aa72"; sha256 = "0bfb5b56f648f457021a91c0df0db4934b6e0c300bd0f2de2333383fe958aa72";
}; };
propagatedBuildInputs = [ grpcio googleapis_common_protos ]; propagatedBuildInputs = [ grpcio googleapis-common-protos ];
# non-standard test format, and python3 will load local google folder first # non-standard test format, and python3 will load local google folder first
# but tests cannot be ran if google folder is removed or moved # but tests cannot be ran if google folder is removed or moved

View File

@ -2,7 +2,7 @@
, buildPythonPackage , buildPythonPackage
, pythonOlder , pythonOlder
, fetchPypi , fetchPypi
, google_api_python_client , google-api-python-client
, google-auth-oauthlib , google-auth-oauthlib
, jupyterhub , jupyterhub
, mwoauth , mwoauth
@ -29,7 +29,7 @@ buildPythonPackage rec {
pytestFlagsArray = [ "oauthenticator/tests" ]; pytestFlagsArray = [ "oauthenticator/tests" ];
checkInputs = [ checkInputs = [
google_api_python_client google-api-python-client
google-auth-oauthlib google-auth-oauthlib
mwoauth mwoauth
pyjwt pyjwt

View File

@ -3,7 +3,7 @@
, fetchPypi , fetchPypi
, isPy3k , isPy3k
, protobuf , protobuf
, googleapis_common_protos , googleapis-common-protos
, pytestCheckHook , pytestCheckHook
, pytz , pytz
}: }:
@ -20,7 +20,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ protobuf ]; propagatedBuildInputs = [ protobuf ];
checkInputs = [ pytestCheckHook pytz googleapis_common_protos ]; checkInputs = [ pytestCheckHook pytz googleapis-common-protos ];
pythonImportsCheck = [ "proto" ]; pythonImportsCheck = [ "proto" ];

View File

@ -1,7 +1,7 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, google_api_python_client , google-api-python-client
, oauth2client , oauth2client
, pyyaml , pyyaml
}: }:
@ -17,7 +17,7 @@ buildPythonPackage rec {
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
google_api_python_client google-api-python-client
oauth2client oauth2client
pyyaml pyyaml
]; ];

View File

@ -1,7 +1,6 @@
{ lib { lib
, aiohttp , aiohttp
, aresponses , aresponses
, async-timeout
, asynctest , asynctest
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub

View File

@ -48,11 +48,11 @@ buildPythonPackage rec {
"-DPYTHON3_LIBRARY=${lib.getLib python}/lib" "-DPYTHON3_LIBRARY=${lib.getLib python}/lib"
]; ];
meta = { meta = with lib; {
description = "Plugin (front-end) for pyside-generatorrunner, that generates bindings for C++ libraries using CPython source code"; description = "Plugin (front-end) for pyside-generatorrunner, that generates bindings for C++ libraries using CPython source code";
license = lib.licenses.gpl2; license = licenses.gpl2;
homepage = "http://www.pyside.org/docs/shiboken/"; homepage = "http://www.pyside.org/";
maintainers = [ ]; maintainers = [ ];
platforms = lib.platforms.all; platforms = platforms.all;
}; };
} }

View File

@ -1,21 +1,23 @@
{ lib, buildPythonPackage, fetchPypi, pytest, pytestrunner, wcwidth }: { lib, buildPythonPackage, fetchPypi, pytestCheckHook, pytest-runner, wcwidth }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyte"; pname = "pyte";
version = "0.8.0"; version = "0.8.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "7e71d03e972d6f262cbe8704ff70039855f05ee6f7ad9d7129df9c977b5a88c5"; sha256 = "7e71d03e972d6f262cbe8704ff70039855f05ee6f7ad9d7129df9c977b5a88c5";
}; };
nativeBuildInputs = [ pytest-runner ];
propagatedBuildInputs = [ wcwidth ]; propagatedBuildInputs = [ wcwidth ];
checkInputs = [ pytest pytestrunner ]; checkInputs = [ pytestCheckHook ];
# tries to write to os.path.dirname(__file__) in test_input_output disabledTests = [
checkPhase = '' "test_input_output"
py.test -k "not test_input_output" ];
'';
meta = with lib; { meta = with lib; {
description = "Simple VTXXX-compatible linux terminal emulator"; description = "Simple VTXXX-compatible linux terminal emulator";

View File

@ -6,7 +6,7 @@
, futures , futures
, gdata , gdata
, gnupg , gnupg
, google_api_python_client , google-api-python-client
, html2text , html2text
, libyaml , libyaml
, lxml , lxml
@ -56,7 +56,7 @@ buildPythonPackage rec {
feedparser feedparser
gdata gdata
gnupg gnupg
google_api_python_client google-api-python-client
html2text html2text
libyaml libyaml
lxml lxml

View File

@ -1,6 +1,6 @@
{ lib, stdenv, fetchFromGitHub, python, autoreconfHook, pkg-config, makeWrapper { lib, stdenv, fetchFromGitHub, python, autoreconfHook, pkg-config, makeWrapper
, flex , flex
, gettext, libedit, glib, imagemagick, libxml2, boost, gnuplot, graphviz , gettext, libedit, glib, imagemagick6, libxml2, boost, gnuplot, graphviz
, tesseract, gts, libXtst , tesseract, gts, libXtst
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook pkg-config flex makeWrapper nativeBuildInputs = [ autoreconfHook pkg-config flex makeWrapper
python.pkgs.wrapPython ]; python.pkgs.wrapPython ];
buildInputs = [ python gettext libedit glib imagemagick libxml2 boost buildInputs = [ python gettext libedit glib imagemagick6 libxml2 boost
gnuplot graphviz tesseract gts gnuplot graphviz tesseract gts
]; ];

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, rustPlatform, pkg-config, openssl, curl, darwin, perl }: { lib, stdenv, fetchFromGitHub, rustPlatform, pkg-config, openssl, curl, Security, CoreServices, CoreFoundation, perl }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "wrangler"; pname = "wrangler";
@ -13,15 +13,11 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "0w845virvw7mvibc76ar2hbffhfzj2v8v1xkrsssrgzyaryb48jk"; cargoSha256 = "0w845virvw7mvibc76ar2hbffhfzj2v8v1xkrsssrgzyaryb48jk";
nativeBuildInputs = [ perl ] ++ lib.optionals stdenv.isLinux [ pkg-config ]; nativeBuildInputs = [ perl ]
++ lib.optionals stdenv.isLinux [ pkg-config ];
buildInputs = lib.optionals stdenv.isLinux [ openssl ] buildInputs = lib.optionals stdenv.isLinux [ openssl ]
++ lib.optionals stdenv.isDarwin [ ++ lib.optionals stdenv.isDarwin [ curl CoreFoundation CoreServices Security ];
curl
darwin.apple_sdk.frameworks.Security
darwin.apple_sdk.frameworks.CoreServices
darwin.apple_sdk.frameworks.CoreFoundation
];
# tries to use "/homeless-shelter" and fails # tries to use "/homeless-shelter" and fails
doCheck = false; doCheck = false;

View File

@ -60,7 +60,7 @@ in
configureFlags = let configureFlags = let
isCross = stdenv.hostPlatform != stdenv.buildPlatform; isCross = stdenv.hostPlatform != stdenv.buildPlatform;
inherit (stdenv.hostPlatform) gcc isArch32; inherit (stdenv.hostPlatform) gcc isAarch32;
in sharedConfigureFlags ++ [ in sharedConfigureFlags ++ [
"--without-dtrace" "--without-dtrace"
] ++ (optionals isCross [ ] ++ (optionals isCross [

View File

@ -2,9 +2,6 @@
, openssl, systemd, lua, luajit, protobuf , openssl, systemd, lua, luajit, protobuf
, enableProtoBuf ? false , enableProtoBuf ? false
}: }:
assert enableProtoBuf -> protobuf != null;
with lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "pdns-recursor"; pname = "pdns-recursor";
@ -19,7 +16,7 @@ stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
boost openssl systemd boost openssl systemd
lua luajit lua luajit
] ++ optional enableProtoBuf protobuf; ] ++ lib.optional enableProtoBuf protobuf;
configureFlags = [ configureFlags = [
"--enable-reproducible" "--enable-reproducible"
@ -32,7 +29,7 @@ stdenv.mkDerivation rec {
nixos = nixosTests.pdns-recursor; nixos = nixosTests.pdns-recursor;
}; };
meta = { meta = with lib; {
description = "A recursive DNS server"; description = "A recursive DNS server";
homepage = "https://www.powerdns.com/"; homepage = "https://www.powerdns.com/";
platforms = platforms.linux; platforms = platforms.linux;

View File

@ -309,7 +309,7 @@
"goalfeed" = ps: with ps; [ ]; # missing inputs: pysher "goalfeed" = ps: with ps; [ ]; # missing inputs: pysher
"goalzero" = ps: with ps; [ ]; # missing inputs: goalzero "goalzero" = ps: with ps; [ ]; # missing inputs: goalzero
"gogogate2" = ps: with ps; [ ]; # missing inputs: gogogate2-api "gogogate2" = ps: with ps; [ ]; # missing inputs: gogogate2-api
"google" = ps: with ps; [ google_api_python_client httplib2 oauth2client ]; "google" = ps: with ps; [ google-api-python-client httplib2 oauth2client ];
"google_assistant" = ps: with ps; [ aiohttp-cors ]; "google_assistant" = ps: with ps; [ aiohttp-cors ];
"google_cloud" = ps: with ps; [ google-cloud-texttospeech ]; "google_cloud" = ps: with ps; [ google-cloud-texttospeech ];
"google_domains" = ps: with ps; [ ]; "google_domains" = ps: with ps; [ ];

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, tcl, makeWrapper, autoreconfHook }: { lib, stdenv, buildPackages, fetchurl, tcl, makeWrapper, autoreconfHook, fetchpatch }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "expect"; pname = "expect";
@ -9,19 +9,27 @@ stdenv.mkDerivation rec {
sha256 = "0d1cp5hggjl93xwc8h1y6adbnrvpkk0ywkd00inz9ndxn21xm9s9"; sha256 = "0d1cp5hggjl93xwc8h1y6adbnrvpkk0ywkd00inz9ndxn21xm9s9";
}; };
buildInputs = [ tcl ]; patches = [
nativeBuildInputs = [ makeWrapper autoreconfHook ]; (fetchpatch {
url = "https://raw.githubusercontent.com/buildroot/buildroot/master/package/expect/0001-enable-cross-compilation.patch";
hardeningDisable = [ "format" ]; sha256 = "1jwx2l1slidvcpahxbyqs942l81jd62rzbxliyd9lwysk38c8b6b";
})
];
postPatch = '' postPatch = ''
sed -i "s,/bin/stty,$(type -p stty),g" configure.in sed -i "s,/bin/stty,$(type -p stty),g" configure.in
''; '';
nativeBuildInputs = [ autoreconfHook makeWrapper tcl ];
buildInputs = [ tcl ];
strictDeps = true;
hardeningDisable = [ "format" ];
configureFlags = [ configureFlags = [
"--with-tcl=${tcl}/lib" "--with-tcl=${buildPackages.tcl}/lib"
"--with-tclinclude=${tcl}/include" "--with-tclinclude=${tcl}/include"
"--exec-prefix=\${out}" "--exec-prefix=${placeholder "out"}"
]; ];
postInstall = '' postInstall = ''

View File

@ -11,6 +11,10 @@ stdenv.mkDerivation rec {
sha256 = "1jivnjswlhwjfg5v9nwfg3vfssvqbdxxf9znwmfb5dgfblg9wxw9"; sha256 = "1jivnjswlhwjfg5v9nwfg3vfssvqbdxxf9znwmfb5dgfblg9wxw9";
}; };
postPatch = ''
substituteInPlace Makefile --replace 'CC=cc' 'CC=${stdenv.cc.targetPrefix}cc'
'';
installPhase = '' installPhase = ''
mkdir -p $out/bin $out/share/man/man6 mkdir -p $out/bin $out/share/man/man6
cp gti $out/bin cp gti $out/bin
@ -18,7 +22,7 @@ stdenv.mkDerivation rec {
''; '';
meta = with lib; { meta = with lib; {
homepage = "http://r-wos.org/hacks/gti"; homepage = "https://r-wos.org/hacks/gti";
license = licenses.mit; license = licenses.mit;
description = "Humorous typo-based git runner; drives a car over the terminal"; description = "Humorous typo-based git runner; drives a car over the terminal";
maintainers = with maintainers; [ fadenb ]; maintainers = with maintainers; [ fadenb ];

View File

@ -17,6 +17,8 @@ python3Packages.buildPythonApplication rec {
outputs = [ "out" "doc" "man" ]; outputs = [ "out" "doc" "man" ];
nativeBuildInputs = [ docutils ];
propagatedBuildInputs = with python3Packages; [ pygments requests requests-toolbelt setuptools ]; propagatedBuildInputs = with python3Packages; [ pygments requests requests-toolbelt setuptools ];
checkInputs = with python3Packages; [ checkInputs = with python3Packages; [
@ -49,7 +51,7 @@ python3Packages.buildPythonApplication rec {
sed -e 's/^|build|//g' -i README.rst sed -e 's/^|build|//g' -i README.rst
toHtml() { toHtml() {
${docutils}/bin/rst2html5 \ rst2html5 \
--strip-elements-with-class=no-web \ --strip-elements-with-class=no-web \
--title=http \ --title=http \
--no-generator \ --no-generator \
@ -63,7 +65,7 @@ python3Packages.buildPythonApplication rec {
toHtml CHANGELOG.rst $docdir/html/CHANGELOG.html toHtml CHANGELOG.rst $docdir/html/CHANGELOG.html
toHtml CONTRIBUTING.rst $docdir/html/CONTRIBUTING.html toHtml CONTRIBUTING.rst $docdir/html/CONTRIBUTING.html
${docutils}/bin/rst2man \ rst2man \
--strip-elements-with-class=no-web \ --strip-elements-with-class=no-web \
--title=http \ --title=http \
--no-generator \ --no-generator \

View File

@ -1,5 +1,5 @@
{ lib, stdenv, makeWrapper, buildEnv, { lib, stdenv, makeWrapper, buildEnv
breezy, coreutils, cvs, findutils, gawk, git, gnused, mercurial, nix, subversion , breezy, coreutils, cvs, findutils, gawk, git, gnused, mercurial, nix, subversion
}: }:
let mkPrefetchScript = tool: src: deps: let mkPrefetchScript = tool: src: deps:
@ -22,7 +22,7 @@ let mkPrefetchScript = tool: src: deps:
meta = with lib; { meta = with lib; {
description = "Script used to obtain source hashes for fetch${tool}"; description = "Script used to obtain source hashes for fetch${tool}";
maintainers = with maintainers; [ bennofs ]; maintainers = with maintainers; [ bennofs ];
platforms = lib.platforms.unix; platforms = platforms.unix;
}; };
}; };
in rec { in rec {
@ -40,7 +40,7 @@ in rec {
meta = with lib; { meta = with lib; {
description = "Collection of all the nix-prefetch-* scripts which may be used to obtain source hashes"; description = "Collection of all the nix-prefetch-* scripts which may be used to obtain source hashes";
maintainers = with maintainers; [ bennofs ]; maintainers = with maintainers; [ bennofs ];
platforms = lib.platforms.unix; platforms = platforms.unix;
}; };
}; };
} }

View File

@ -1,8 +1,8 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook }: { lib, stdenv, fetchFromGitHub, autoreconfHook }:
let version = "4.4"; stdenv.mkDerivation rec {
in stdenv.mkDerivation { pname = "hashdeep";
name = "hashdeep-${version}"; version = "4.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jessek"; owner = "jessek";
@ -18,6 +18,6 @@ in stdenv.mkDerivation {
homepage = "https://github.com/jessek/hashdeep"; homepage = "https://github.com/jessek/hashdeep";
license = licenses.gpl2; license = licenses.gpl2;
platforms = with platforms; linux ++ freebsd ++ openbsd; platforms = with platforms; linux ++ freebsd ++ openbsd;
maintainers = [ lib.maintainers.karantan ]; maintainers = [ maintainers.karantan ];
}; };
} }

View File

@ -10,7 +10,10 @@ stdenv.mkDerivation rec {
sha256 = "0zkmwxyl1870ar6jr9h537vmqgkckqs9jd1yv6m4qqzdsmg5gdbq"; sha256 = "0zkmwxyl1870ar6jr9h537vmqgkckqs9jd1yv6m4qqzdsmg5gdbq";
}; };
propagatedBuildInputs = [ perl coreutils ]; # pod2man
nativeBuildInputs = [ perl ];
propagatedBuildInputs = [ coreutils perl ];
postFixup = '' postFixup = ''
sed -e 's@/bin/rm@${coreutils}/bin/rm@' -i $out/bin/safe-rm sed -e 's@/bin/rm@${coreutils}/bin/rm@' -i $out/bin/safe-rm

View File

@ -24,6 +24,5 @@ python3Packages.buildPythonApplication rec {
license = licenses.gpl3; license = licenses.gpl3;
platforms = platforms.linux; platforms = platforms.linux;
maintainers = with maintainers; [ dwarfmaster ]; maintainers = with maintainers; [ dwarfmaster ];
inherit version;
}; };
} }

View File

@ -9,10 +9,15 @@ stdenv.mkDerivation rec {
sha256 = "0sxgg0ms5lhi4aqqvz1rj4s77yi9wymfm3l3gbjfd1qchy66kzrl"; sha256 = "0sxgg0ms5lhi4aqqvz1rj4s77yi9wymfm3l3gbjfd1qchy66kzrl";
}; };
# for makeinfo
nativeBuildInputs = [ texinfo ];
buildInputs = [ texinfo ]; buildInputs = [ texinfo ];
checkInputs = [ which ]; checkInputs = [ which ];
strictDeps = true;
meta = with lib; { meta = with lib; {
homepage = "https://www.gnu.org/software/wdiff/"; homepage = "https://www.gnu.org/software/wdiff/";
description = "Comparing files on a word by word basis"; description = "Comparing files on a word by word basis";

View File

@ -3942,7 +3942,9 @@ in
wallutils = callPackage ../tools/graphics/wallutils { }; wallutils = callPackage ../tools/graphics/wallutils { };
wrangler = callPackage ../development/tools/wrangler { }; wrangler = callPackage ../development/tools/wrangler {
inherit (darwin.apple_sdk.frameworks) CoreFoundation CoreServices Security;
};
wsl-open = callPackage ../tools/misc/wsl-open { }; wsl-open = callPackage ../tools/misc/wsl-open { };
@ -14183,7 +14185,7 @@ in
gst_all_1 = recurseIntoAttrs(callPackage ../development/libraries/gstreamer { gst_all_1 = recurseIntoAttrs(callPackage ../development/libraries/gstreamer {
callPackage = newScope { libav = pkgs.ffmpeg; }; callPackage = newScope { libav = pkgs.ffmpeg; };
inherit (darwin.apple_sdk.frameworks) CoreServices; inherit (darwin.apple_sdk.frameworks) AudioToolbox AVFoundation Cocoa CoreFoundation CoreMedia CoreServices CoreVideo DiskArbitration Foundation IOKit MediaToolbox OpenGL VideoToolbox;
}); });
gusb = callPackage ../development/libraries/gusb { }; gusb = callPackage ../development/libraries/gusb { };

View File

@ -2655,12 +2655,12 @@ in {
google-api-core = callPackage ../development/python-modules/google-api-core { }; google-api-core = callPackage ../development/python-modules/google-api-core { };
google_api_python_client = google-api-python-client =
let google_api_python_client = callPackage ../development/python-modules/google-api-python-client { }; let google-api-python-client = callPackage ../development/python-modules/google-api-python-client { };
in if isPy3k then in if isPy3k then
google_api_python_client google-api-python-client
else # Python 2.7 support was deprecated but is still needed by weboob and duplicity else # Python 2.7 support was deprecated but is still needed by weboob and duplicity
google_api_python_client.overridePythonAttrs (old: rec { google-api-python-client.overridePythonAttrs (old: rec {
version = "1.7.6"; version = "1.7.6";
src = old.src.override { src = old.src.override {
inherit version; inherit version;
@ -2668,7 +2668,7 @@ in {
}; };
}); });
googleapis_common_protos = callPackage ../development/python-modules/googleapis_common_protos { }; googleapis-common-protos = callPackage ../development/python-modules/googleapis-common-protos { };
google-apputils = callPackage ../development/python-modules/google-apputils { }; google-apputils = callPackage ../development/python-modules/google-apputils { };