Merge master into staging-next

This commit is contained in:
github-actions[bot] 2022-11-10 00:02:27 +00:00 committed by GitHub
commit 020ea91183
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
100 changed files with 634 additions and 301 deletions

View file

@ -990,21 +990,6 @@ in mkLicense lset) ({
fullName = "GNU Affero General Public License v3.0"; fullName = "GNU Affero General Public License v3.0";
deprecated = true; deprecated = true;
}; };
fdl11 = {
spdxId = "GFDL-1.1";
fullName = "GNU Free Documentation License v1.1";
deprecated = true;
};
fdl12 = {
spdxId = "GFDL-1.2";
fullName = "GNU Free Documentation License v1.2";
deprecated = true;
};
fdl13 = {
spdxId = "GFDL-1.3";
fullName = "GNU Free Documentation License v1.3";
deprecated = true;
};
gpl2 = { gpl2 = {
spdxId = "GPL-2.0"; spdxId = "GPL-2.0";
fullName = "GNU General Public License v2.0"; fullName = "GNU General Public License v2.0";

View file

@ -61,12 +61,12 @@ Readonly::Hash my %LICENSE_MAP => (
# GNU Free Documentation License, Version 1.2. # GNU Free Documentation License, Version 1.2.
gfdl_1_2 => { gfdl_1_2 => {
licenses => [qw( fdl12 )] licenses => [qw( fdl12Plus )]
}, },
# GNU Free Documentation License, Version 1.3. # GNU Free Documentation License, Version 1.3.
gfdl_1_3 => { gfdl_1_3 => {
licenses => [qw( fdl13 )] licenses => [qw( fdl13Plus )]
}, },
# GNU General Public License, Version 1. # GNU General Public License, Version 1.

View file

@ -32,6 +32,44 @@ let
}; };
}; };
configFile = format.generate "syncstorage.toml" (lib.recursiveUpdate settings cfg.settings); configFile = format.generate "syncstorage.toml" (lib.recursiveUpdate settings cfg.settings);
setupScript = pkgs.writeShellScript "firefox-syncserver-setup" ''
set -euo pipefail
shopt -s inherit_errexit
schema_configured() {
mysql ${cfg.database.name} -Ne 'SHOW TABLES' | grep -q services
}
update_config() {
mysql ${cfg.database.name} <<"EOF"
BEGIN;
INSERT INTO `services` (`id`, `service`, `pattern`)
VALUES (1, 'sync-1.5', '{node}/1.5/{uid}')
ON DUPLICATE KEY UPDATE service='sync-1.5', pattern='{node}/1.5/{uid}';
INSERT INTO `nodes` (`id`, `service`, `node`, `available`, `current_load`,
`capacity`, `downed`, `backoff`)
VALUES (1, 1, '${cfg.singleNode.url}', ${toString cfg.singleNode.capacity},
0, ${toString cfg.singleNode.capacity}, 0, 0)
ON DUPLICATE KEY UPDATE node = '${cfg.singleNode.url}', capacity=${toString cfg.singleNode.capacity};
COMMIT;
EOF
}
for (( try = 0; try < 60; try++ )); do
if ! schema_configured; then
sleep 2
else
update_config
exit 0
fi
done
echo "Single-node setup failed"
exit 1
'';
in in
{ {
@ -210,6 +248,7 @@ in
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
requires = lib.mkIf dbIsLocal [ "mysql.service" ]; requires = lib.mkIf dbIsLocal [ "mysql.service" ];
after = lib.mkIf dbIsLocal [ "mysql.service" ]; after = lib.mkIf dbIsLocal [ "mysql.service" ];
restartTriggers = lib.optional cfg.singleNode.enable setupScript;
environment.RUST_LOG = cfg.logLevel; environment.RUST_LOG = cfg.logLevel;
serviceConfig = { serviceConfig = {
User = defaultUser; User = defaultUser;
@ -255,56 +294,7 @@ in
requires = [ "firefox-syncserver.service" ] ++ lib.optional dbIsLocal "mysql.service"; requires = [ "firefox-syncserver.service" ] ++ lib.optional dbIsLocal "mysql.service";
after = [ "firefox-syncserver.service" ] ++ lib.optional dbIsLocal "mysql.service"; after = [ "firefox-syncserver.service" ] ++ lib.optional dbIsLocal "mysql.service";
path = [ config.services.mysql.package ]; path = [ config.services.mysql.package ];
script = '' serviceConfig.ExecStart = [ "${setupScript}" ];
set -euo pipefail
shopt -s inherit_errexit
schema_configured() {
mysql ${cfg.database.name} -Ne 'SHOW TABLES' | grep -q services
}
services_configured() {
[ 1 != $(mysql ${cfg.database.name} -Ne 'SELECT COUNT(*) < 1 FROM `services`') ]
}
create_services() {
mysql ${cfg.database.name} <<"EOF"
BEGIN;
INSERT INTO `services` (`id`, `service`, `pattern`)
VALUES (1, 'sync-1.5', '{node}/1.5/{uid}');
INSERT INTO `nodes` (`id`, `service`, `node`, `available`, `current_load`,
`capacity`, `downed`, `backoff`)
VALUES (1, 1, '${cfg.singleNode.url}', ${toString cfg.singleNode.capacity},
0, ${toString cfg.singleNode.capacity}, 0, 0);
COMMIT;
EOF
}
update_nodes() {
mysql ${cfg.database.name} <<"EOF"
UPDATE `nodes`
SET `capacity` = ${toString cfg.singleNode.capacity}
WHERE `id` = 1;
EOF
}
for (( try = 0; try < 60; try++ )); do
if ! schema_configured; then
sleep 2
elif services_configured; then
update_nodes
exit 0
else
create_services
exit 0
fi
done
echo "Single-node setup failed"
exit 1
'';
}; };
services.nginx.virtualHosts = lib.mkIf cfg.singleNode.enableNginx { services.nginx.virtualHosts = lib.mkIf cfg.singleNode.enableNginx {

View file

@ -0,0 +1,191 @@
{ lib, stdenv
, fetchgit
, alsa-lib
, aubio
, boost
, cairomm
, cppunit
, curl
, dbus
, doxygen
, ffmpeg
, fftw
, fftwSinglePrec
, flac
, glibc
, glibmm
, graphviz
, gtkmm2
, harvid
, itstool
, libarchive
, libjack2
, liblo
, libogg
, libpulseaudio
, librdf_raptor
, librdf_rasqal
, libsamplerate
, libsigcxx
, libsndfile
, libusb1
, libuv
, libwebsockets
, libxml2
, libxslt
, lilv
, lrdf
, lv2
, makeWrapper
, pango
, perl
, pkg-config
, python3
, readline
, rubberband
, serd
, sord
, soundtouch
, sratom
, suil
, taglib
, vamp-plugin-sdk
, wafHook
, xjadeo
, videoSupport ? true
}:
stdenv.mkDerivation rec {
pname = "ardour";
version = "6.9";
# We can't use `fetchFromGitea` here, as attempting to fetch release archives from git.ardour.org
# result in an empty archive. See https://tracker.ardour.org/view.php?id=7328 for more info.
src = fetchgit {
url = "git://git.ardour.org/ardour/ardour.git";
rev = version;
sha256 = "0vlcbd70y0an881zv87kc3akmaiz4w7whsy3yaiiqqjww35jg1mm";
};
patches = [
# AS=as in the environment causes build failure https://tracker.ardour.org/view.php?id=8096
./as-flags.patch
];
nativeBuildInputs = [
doxygen
graphviz # for dot
itstool
makeWrapper
perl
pkg-config
python3
wafHook
];
buildInputs = [
alsa-lib
aubio
boost
cairomm
cppunit
curl
dbus
ffmpeg
fftw
fftwSinglePrec
flac
glibmm
gtkmm2
itstool
libarchive
libjack2
liblo
libogg
libpulseaudio
librdf_raptor
librdf_rasqal
libsamplerate
libsigcxx
libsndfile
libusb1
libuv
libwebsockets
libxml2
libxslt
lilv
lrdf
lv2
pango
perl
python3
readline
rubberband
serd
sord
soundtouch
sratom
suil
taglib
vamp-plugin-sdk
] ++ lib.optionals videoSupport [ harvid xjadeo ];
wafConfigureFlags = [
"--cxx11"
"--docs"
"--freedesktop"
"--no-phone-home"
"--optimize"
"--ptformat"
"--run-tests"
"--test"
];
# removed because it fixes https://tracker.ardour.org/view.php?id=8161 and https://tracker.ardour.org/view.php?id=8437
# "--use-external-libs"
# Ardour's wscript requires git revision and date to be available.
# Since they are not, let's generate the file manually.
postPatch = ''
printf '#include "libs/ardour/ardour/revision.h"\nnamespace ARDOUR { const char* revision = "${version}"; const char* date = ""; }\n' > libs/ardour/revision.cc
sed 's|/usr/include/libintl.h|${glibc.dev}/include/libintl.h|' -i wscript
patchShebangs ./tools/
substituteInPlace libs/ardour/video_tools_paths.cc \
--replace 'ffmpeg_exe = X_("");' 'ffmpeg_exe = X_("${ffmpeg}/bin/ffmpeg");' \
--replace 'ffprobe_exe = X_("");' 'ffprobe_exe = X_("${ffmpeg}/bin/ffprobe");'
'';
postInstall = ''
# wscript does not install these for some reason
install -vDm 644 "build/gtk2_ardour/ardour.xml" \
-t "$out/share/mime/packages"
install -vDm 644 "build/gtk2_ardour/ardour6.desktop" \
-t "$out/share/applications"
for size in 16 22 32 48 256 512; do
install -vDm 644 "gtk2_ardour/resources/Ardour-icon_''${size}px.png" \
"$out/share/icons/hicolor/''${size}x''${size}/apps/ardour6.png"
done
install -vDm 644 "ardour.1"* -t "$out/share/man/man1"
'' + lib.optionalString videoSupport ''
# `harvid` and `xjadeo` must be accessible in `PATH` for video to work.
wrapProgram "$out/bin/ardour6" \
--prefix PATH : "${lib.makeBinPath [ harvid xjadeo ]}"
'';
LINKFLAGS = "-lpthread";
meta = with lib; {
description = "Multi-track hard disk recording software";
longDescription = ''
Ardour is a digital audio workstation (DAW), You can use it to
record, edit and mix multi-track audio and midi. Produce your
own CDs. Mix video soundtracks. Experiment with new ideas about
music and sound.
Please consider supporting the ardour project financially:
https://community.ardour.org/donate
'';
homepage = "https://ardour.org/";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ goibhniu magnetophon mitchmindtree ];
};
}

View file

@ -1,5 +1,7 @@
{ lib, stdenv { lib
, stdenv
, fetchgit , fetchgit
, fetchzip
, alsa-lib , alsa-lib
, aubio , aubio
, boost , boost
@ -56,13 +58,21 @@
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ardour"; pname = "ardour";
version = "6.9"; version = "7.1";
# don't fetch releases from the GitHub mirror, they are broken # We can't use `fetchFromGitea` here, as attempting to fetch release archives from git.ardour.org
# result in an empty archive. See https://tracker.ardour.org/view.php?id=7328 for more info.
src = fetchgit { src = fetchgit {
url = "git://git.ardour.org/ardour/ardour.git"; url = "git://git.ardour.org/ardour/ardour.git";
rev = version; rev = version;
sha256 = "0vlcbd70y0an881zv87kc3akmaiz4w7whsy3yaiiqqjww35jg1mm"; hash = "sha256-eLF9n71tjdPA+ks0B8UonmPZqRgcZEA7ok79+m9PioU=";
};
bundledContent = fetchzip {
url = "https://web.archive.org/web/20221026200824/http://stuff.ardour.org/loops/ArdourBundledMedia.zip";
hash = "sha256-IbPQWFeyMuvCoghFl1ZwZNNcSvLNsH84rGArXnw+t7A=";
# archive does not contain a single folder at the root
stripRoot = false;
}; };
patches = [ patches = [
@ -70,6 +80,17 @@ stdenv.mkDerivation rec {
./as-flags.patch ./as-flags.patch
]; ];
# Ardour's wscript requires git revision and date to be available.
# Since they are not, let's generate the file manually.
postPatch = ''
printf '#include "libs/ardour/ardour/revision.h"\nnamespace ARDOUR { const char* revision = "${version}"; const char* date = ""; }\n' > libs/ardour/revision.cc
sed 's|/usr/include/libintl.h|${glibc.dev}/include/libintl.h|' -i wscript
patchShebangs ./tools/
substituteInPlace libs/ardour/video_tools_paths.cc \
--replace 'ffmpeg_exe = X_("");' 'ffmpeg_exe = X_("${ffmpeg}/bin/ffmpeg");' \
--replace 'ffprobe_exe = X_("");' 'ffprobe_exe = X_("${ffmpeg}/bin/ffprobe");'
'';
nativeBuildInputs = [ nativeBuildInputs = [
doxygen doxygen
graphviz # for dot graphviz # for dot
@ -141,31 +162,23 @@ stdenv.mkDerivation rec {
# removed because it fixes https://tracker.ardour.org/view.php?id=8161 and https://tracker.ardour.org/view.php?id=8437 # removed because it fixes https://tracker.ardour.org/view.php?id=8161 and https://tracker.ardour.org/view.php?id=8437
# "--use-external-libs" # "--use-external-libs"
# Ardour's wscript requires git revision and date to be available.
# Since they are not, let's generate the file manually.
postPatch = ''
printf '#include "libs/ardour/ardour/revision.h"\nnamespace ARDOUR { const char* revision = "${version}"; const char* date = ""; }\n' > libs/ardour/revision.cc
sed 's|/usr/include/libintl.h|${glibc.dev}/include/libintl.h|' -i wscript
patchShebangs ./tools/
substituteInPlace libs/ardour/video_tools_paths.cc \
--replace 'ffmpeg_exe = X_("");' 'ffmpeg_exe = X_("${ffmpeg}/bin/ffmpeg");' \
--replace 'ffprobe_exe = X_("");' 'ffprobe_exe = X_("${ffmpeg}/bin/ffprobe");'
'';
postInstall = '' postInstall = ''
# wscript does not install these for some reason # wscript does not install these for some reason
install -vDm 644 "build/gtk2_ardour/ardour.xml" \ install -vDm 644 "build/gtk2_ardour/ardour.xml" \
-t "$out/share/mime/packages" -t "$out/share/mime/packages"
install -vDm 644 "build/gtk2_ardour/ardour6.desktop" \ install -vDm 644 "build/gtk2_ardour/ardour${lib.versions.major version}.desktop" \
-t "$out/share/applications" -t "$out/share/applications"
for size in 16 22 32 48 256 512; do for size in 16 22 32 48 256 512; do
install -vDm 644 "gtk2_ardour/resources/Ardour-icon_''${size}px.png" \ install -vDm 644 "gtk2_ardour/resources/Ardour-icon_''${size}px.png" \
"$out/share/icons/hicolor/''${size}x''${size}/apps/ardour6.png" "$out/share/icons/hicolor/''${size}x''${size}/apps/ardour${lib.versions.major version}.png"
done done
install -vDm 644 "ardour.1"* -t "$out/share/man/man1" install -vDm 644 "ardour.1"* -t "$out/share/man/man1"
# install additional bundled beats, chords and progressions
cp -rp "${bundledContent}"/* "$out/share/ardour${lib.versions.major version}/media"
'' + lib.optionalString videoSupport '' '' + lib.optionalString videoSupport ''
# `harvid` and `xjadeo` must be accessible in `PATH` for video to work. # `harvid` and `xjadeo` must be accessible in `PATH` for video to work.
wrapProgram "$out/bin/ardour6" \ wrapProgram "$out/bin/ardour${lib.versions.major version}" \
--prefix PATH : "${lib.makeBinPath [ harvid xjadeo ]}" --prefix PATH : "${lib.makeBinPath [ harvid xjadeo ]}"
''; '';

View file

@ -36,6 +36,8 @@ stdenv.mkDerivation rec {
sha256 = "sha256-pnAdlCCqWzR0W8dF9CE48K8yHMVIx3egZlXvibxU18A="; sha256 = "sha256-pnAdlCCqWzR0W8dF9CE48K8yHMVIx3egZlXvibxU18A=";
}; };
outputs = [ "out" "dev" ];
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
pkg-config pkg-config

View file

@ -11,9 +11,9 @@ in
} {}; } {};
sublime4-dev = common { sublime4-dev = common {
buildVersion = "4137"; buildVersion = "4141";
dev = true; dev = true;
x64sha256 = "oGBPoqVwTIQfIzh/8fEOOrZkrbzT0tG23ASeHbN/OMk="; x64sha256 = "eFo9v4hSrp1gV56adVyFB9sOApOXlKNvVBW0wbFYG4g=";
aarch64sha256 = "7mqYSoggfrcRoDh+QfA4rW0qvF2ZpiUY5yVxhxZKsfE="; aarch64sha256 = "MmwSptvSH507+X9GT8GC4tzZFzEfT2pKc+/Qu5SbMkM=";
} {}; } {};
} }

View file

@ -124,7 +124,7 @@ stdenv.mkDerivation rec {
configurePhase = '' configurePhase = ''
export GIT_VERSION=${builtins.substring 0 7 src.rev} export GIT_VERSION=${builtins.substring 0 7 src.rev}
buildFlags="$buildFlags ''${enableParallelBuilding:+-j$NIX_BUILD_CORES" buildFlags="$buildFlags ''${enableParallelBuilding:+-j$NIX_BUILD_CORES}"
'' + optionalString enableX11 '' '' + optionalString enableX11 ''
cd x11 cd x11
substituteInPlace Makefile.am \ substituteInPlace Makefile.am \

View file

@ -1,86 +1,109 @@
{ lib, stdenv, fetchFromGitHub, gradle_6, perl, makeWrapper, jdk11, gsettings-desktop-schemas }: { lib
, stdenv
, fetchFromGitHub
, gradle_7
, perl
, makeWrapper
, writeText
, jdk11
, gsettings-desktop-schemas
}:
let let
version = "0.9.3-3"; version = "1.1.0-1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mucommander"; owner = "mucommander";
repo = "mucommander"; repo = "mucommander";
rev = version; rev = version;
sha256 = "1zhglsx3b5k6np3ppfkkrqz9wg0j7ip598xxfgn75gjl020w0can"; sha256 = "sha256-sCBbY3aBSuJmyOuy36pg8X2jX6hXwW8SW2UzYyp/isM=";
}; };
postPatch = '' postPatch = ''
# there is no .git anyway # there is no .git anyway
substituteInPlace build.gradle \ substituteInPlace build.gradle \
--replace "git = org.ajoberstar.grgit.Grgit.open(file('.'))" "" \ --replace "git = grgit.open(dir: project.rootDir)" "" \
--replace "revision = git.head().id" "revision = 'abcdefgh'" \ --replace "id 'org.ajoberstar.grgit' version '3.1.1'" "" \
--replace "proguard.enabled =" "// proguard.enabled =" \ --replace "revision = git.head().id" "revision = '${version}'"
--replace "version = '0.9.4'" "version = '${version}'"
# disable gradle plugins with native code and their targets
perl -i.bak1 -pe "s#(^\s*id '.+' version '.+'$)#// \1#" build.gradle
perl -i.bak2 -pe "s#(.*)#// \1# if /^(buildscript|task portable|task nsis|task proguard|task tgz|task\(afterEclipseImport\)|launch4j|macAppBundle|buildRpm|buildDeb|shadowJar)/ ... /^}/" build.gradle
# fix source encoding
find . -type f -name build.gradle \
-exec perl -i.bak3 -pe "s#(repositories\.jcenter\(\))#
\1
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
#" {} \;
''; '';
# fake build to pre-download deps into fixed-output derivation # fake build to pre-download deps into fixed-output derivation
deps = stdenv.mkDerivation { deps = stdenv.mkDerivation {
pname = "mucommander-deps"; pname = "mucommander-deps";
inherit version src postPatch; inherit version src postPatch;
nativeBuildInputs = [ gradle_6 perl ]; nativeBuildInputs = [ gradle_7 perl ];
buildPhase = '' buildPhase = ''
export GRADLE_USER_HOME=$(mktemp -d) export GRADLE_USER_HOME=$(mktemp -d)
gradle --no-daemon build gradle --no-daemon tgz
''; '';
# perl code mavenizes pathes (com.squareup.okio/okio/1.13.0/a9283170b7305c8d92d25aff02a6ab7e45d06cbe/okio-1.13.0.jar -> com/squareup/okio/okio/1.13.0/okio-1.13.0.jar) # perl code mavenizes pathes (com.squareup.okio/okio/1.13.0/a9283170b7305c8d92d25aff02a6ab7e45d06cbe/okio-1.13.0.jar -> com/squareup/okio/okio/1.13.0/okio-1.13.0.jar)
# reproducible by sorting
installPhase = '' installPhase = ''
find $GRADLE_USER_HOME/caches/modules-2 -type f -regex '.*\.\(jar\|pom\)' \ find $GRADLE_USER_HOME/caches/modules-2 -type f -regex '.*\.\(jar\|pom\)' \
| LC_ALL=C sort \
| perl -pe 's#(.*/([^/]+)/([^/]+)/([^/]+)/[0-9a-f]{30,40}/([^/\s]+))$# ($x = $2) =~ tr|\.|/|; "install -Dm444 $1 \$out/$x/$3/$4/$5" #e' \ | perl -pe 's#(.*/([^/]+)/([^/]+)/([^/]+)/[0-9a-f]{30,40}/([^/\s]+))$# ($x = $2) =~ tr|\.|/|; "install -Dm444 $1 \$out/$x/$3/$4/$5" #e' \
| sh | sh
# copy maven-metadata.xml for commons-codec
# thankfully there is only one xml
cp $GRADLE_USER_HOME/caches/modules-2/resources-2.1/*/*/maven-metadata.xml $out/commons-codec/commons-codec/maven-metadata.xml
''; '';
outputHashAlgo = "sha256"; outputHashAlgo = "sha256";
outputHashMode = "recursive"; outputHashMode = "recursive";
outputHash = "1v5a76pvk7llbyv2rg50wlxc2wf468l2cslz1vi20aihycbyky7j"; outputHash = "sha256-15ThPkvcmOfa5m/HMJzjrOOUi/BYbd57p5bBfj5/3n4=";
}; };
in stdenv.mkDerivation { in
stdenv.mkDerivation rec {
pname = "mucommander"; pname = "mucommander";
inherit version src postPatch; inherit version src postPatch;
nativeBuildInputs = [ gradle_6 perl makeWrapper ]; nativeBuildInputs = [ gradle_7 perl makeWrapper ];
# Point to our local deps repo
gradleInit = writeText "init.gradle" ''
logger.lifecycle 'Replacing Maven repositories with ${deps}...'
gradle.projectsLoaded {
rootProject.allprojects {
buildscript {
repositories {
clear()
maven { url '${deps}' }
}
}
repositories {
clear()
maven { url '${deps}' }
}
}
}
settingsEvaluated { settings ->
settings.pluginManagement {
repositories {
maven { url '${deps}' }
}
}
}
'';
buildPhase = '' buildPhase = ''
export GRADLE_USER_HOME=$(mktemp -d) export GRADLE_USER_HOME=$(mktemp -d)
# point to offline repo gradle --offline --init-script ${gradleInit} --no-daemon tgz
find . -type f -name build.gradle \
-exec perl -i.bak3 -pe "s#repositories\.jcenter\(\)#
repositories { mavenLocal(); maven { url '${deps}' } }
#" {} \;
gradle --offline --no-daemon distTar
''; '';
installPhase = '' installPhase = ''
mkdir $out mkdir -p $out/share/mucommander
tar xvf build/distributions/mucommander-${version}.tar --directory=$out --strip=1 tar xvf build/distributions/mucommander-*.tgz --directory=$out/share/mucommander
wrapProgram $out/bin/mucommander \
makeWrapper $out/share/mucommander/mucommander.sh $out/bin/mucommander \
--prefix XDG_DATA_DIRS : ${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name} \ --prefix XDG_DATA_DIRS : ${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name} \
--set JAVA_HOME ${jdk11} --set JAVA_HOME ${jdk11}
''; '';
meta = with lib; { meta = with lib; {
homepage = "http://www.mucommander.com/"; homepage = "https://www.mucommander.com/";
description = "Cross-platform file manager"; description = "Cross-platform file manager";
license = licenses.gpl3; license = licenses.gpl3;
maintainers = with maintainers; [ ]; maintainers = with maintainers; [ jiegec ];
platforms = platforms.all; platforms = platforms.all;
}; };
} }

View file

@ -9,7 +9,7 @@
mkDerivation { mkDerivation {
pname = "akonadi-import-wizard"; pname = "akonadi-import-wizard";
meta = { meta = {
license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -7,7 +7,7 @@
mkDerivation { mkDerivation {
pname = "akonadi-notes"; pname = "akonadi-notes";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -8,7 +8,7 @@
mkDerivation { mkDerivation {
pname = "akonadi-search"; pname = "akonadi-search";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -9,7 +9,7 @@
mkDerivation { mkDerivation {
pname = "akonadiconsole"; pname = "akonadiconsole";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -14,7 +14,7 @@ mkDerivation {
meta = { meta = {
homepage = "https://apps.kde.org/akregator/"; homepage = "https://apps.kde.org/akregator/";
description = "KDE feed reader"; description = "KDE feed reader";
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -8,7 +8,7 @@
mkDerivation { mkDerivation {
pname = "calendarsupport"; pname = "calendarsupport";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -13,7 +13,7 @@ mkDerivation {
meta = { meta = {
homepage = "https://apps.kde.org/dolphin/"; homepage = "https://apps.kde.org/dolphin/";
description = "KDE file manager"; description = "KDE file manager";
license = with lib.licenses; [ gpl2 fdl12 ]; license = with lib.licenses; [ gpl2Plus fdl12Plus ];
maintainers = [ lib.maintainers.ttuegel ]; maintainers = [ lib.maintainers.ttuegel ];
broken = lib.versionOlder qtbase.version "5.14"; broken = lib.versionOlder qtbase.version "5.14";
}; };

View file

@ -11,7 +11,7 @@ mkDerivation {
pname = "dragon"; pname = "dragon";
meta = { meta = {
homepage = "https://apps.kde.org/dragonplayer/"; homepage = "https://apps.kde.org/dragonplayer/";
license = with lib.licenses; [ gpl2 fdl12 ]; license = with lib.licenses; [ gpl2Plus fdl12Plus ];
description = "A simple media player for KDE"; description = "A simple media player for KDE";
maintainers = [ lib.maintainers.jonathanreeve ]; maintainers = [ lib.maintainers.jonathanreeve ];
}; };

View file

@ -8,7 +8,7 @@
mkDerivation { mkDerivation {
pname = "eventviews"; pname = "eventviews";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -7,7 +7,7 @@
mkDerivation { mkDerivation {
pname = "grantleetheme"; pname = "grantleetheme";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
broken = lib.versionOlder qtbase.version "5.13.0"; broken = lib.versionOlder qtbase.version "5.13.0";
}; };

View file

@ -11,7 +11,7 @@ mkDerivation {
meta = { meta = {
homepage = "https://apps.kde.org/gwenview/"; homepage = "https://apps.kde.org/gwenview/";
description = "KDE image viewer"; description = "KDE image viewer";
license = with lib.licenses; [ gpl2 fdl12 ]; license = with lib.licenses; [ gpl2Plus fdl12Plus ];
maintainers = [ lib.maintainers.ttuegel ]; maintainers = [ lib.maintainers.ttuegel ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -8,7 +8,7 @@
mkDerivation { mkDerivation {
pname = "incidenceeditor"; pname = "incidenceeditor";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -12,7 +12,7 @@ mkDerivation {
meta = { meta = {
homepage = "https://apps.kde.org/kaddressbook/"; homepage = "https://apps.kde.org/kaddressbook/";
description = "KDE contact manager"; description = "KDE contact manager";
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -8,7 +8,7 @@
mkDerivation { mkDerivation {
pname = "kcalutils"; pname = "kcalutils";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -12,7 +12,7 @@
mkDerivation { mkDerivation {
pname = "kdepim-runtime"; pname = "kdepim-runtime";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools shared-mime-info ]; nativeBuildInputs = [ extra-cmake-modules kdoctools shared-mime-info ];

View file

@ -10,7 +10,7 @@ mkDerivation {
meta = { meta = {
homepage = "https://apps.kde.org/kdialog/"; homepage = "https://apps.kde.org/kdialog/";
description = "Display dialog boxes from shell scripts"; description = "Display dialog boxes from shell scripts";
license = with lib.licenses; [ gpl2 fdl12 ]; license = with lib.licenses; [ gpl2Plus fdl12Plus ];
maintainers = with lib.maintainers; [ peterhoeg ]; maintainers = with lib.maintainers; [ peterhoeg ];
}; };

View file

@ -10,7 +10,7 @@ mkDerivation {
buildInputs = [ kio kparts kwindowsystem ]; buildInputs = [ kio kparts kwindowsystem ];
meta = with lib; { meta = with lib; {
homepage = "http://www.kde.org"; homepage = "http://www.kde.org";
license = with licenses; [ gpl2 lgpl21 fdl12 bsd3 ]; license = with licenses; [ gpl2Plus lgpl21Plus fdl12Plus bsd3 ];
maintainers = with maintainers; [ peterhoeg ]; maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.linux; platforms = platforms.linux;
}; };

View file

@ -8,7 +8,7 @@
mkDerivation { mkDerivation {
pname = "kidentitymanagement"; pname = "kidentitymanagement";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -7,7 +7,7 @@
mkDerivation { mkDerivation {
pname = "kimap"; pname = "kimap";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -7,7 +7,7 @@
mkDerivation { mkDerivation {
pname = "kldap"; pname = "kldap";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -18,7 +18,7 @@ mkDerivation {
meta = { meta = {
homepage = "https://apps.kde.org/kleopatra/"; homepage = "https://apps.kde.org/kleopatra/";
description = "Certificate manager and unified crypto GUI"; description = "Certificate manager and unified crypto GUI";
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
} }

View file

@ -9,7 +9,7 @@
mkDerivation { mkDerivation {
pname = "kmail-account-wizard"; pname = "kmail-account-wizard";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools shared-mime-info ]; nativeBuildInputs = [ extra-cmake-modules kdoctools shared-mime-info ];

View file

@ -55,7 +55,7 @@ mkDerivation {
meta = { meta = {
homepage = "https://apps.kde.org/kmail2/"; homepage = "https://apps.kde.org/kmail2/";
description = "Mail client"; description = "Mail client";
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -9,7 +9,7 @@
mkDerivation { mkDerivation {
pname = "kmailtransport"; pname = "kmailtransport";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -7,7 +7,7 @@
mkDerivation { mkDerivation {
pname = "kmbox"; pname = "kmbox";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -10,7 +10,7 @@ mkDerivation {
meta = { meta = {
homepage = "https://apps.kde.org/kmix/"; homepage = "https://apps.kde.org/kmix/";
description = "Sound mixer"; description = "Sound mixer";
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = [ lib.maintainers.rongcuid ]; maintainers = [ lib.maintainers.rongcuid ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -28,7 +28,7 @@ mkDerivation {
meta = { meta = {
homepage = "https://github.com/KDE/kmousetool"; homepage = "https://github.com/KDE/kmousetool";
description = "Program that clicks the mouse for you"; description = "Program that clicks the mouse for you";
license = with lib.licenses; [ gpl2 fdl12 ]; license = with lib.licenses; [ gpl2Plus fdl12Plus ];
maintainers = [ lib.maintainers.jayesh-bhoot ]; maintainers = [ lib.maintainers.jayesh-bhoot ];
}; };
} }

View file

@ -7,7 +7,7 @@ mkDerivation {
meta = { meta = {
homepage = "https://apps.kde.org/kmplot/"; homepage = "https://apps.kde.org/kmplot/";
description = "Mathematical function plotter"; description = "Mathematical function plotter";
license = with lib.licenses; [ gpl2Plus fdl12 ]; license = with lib.licenses; [ gpl2Plus fdl12Plus ];
maintainers = [ lib.maintainers.orivej ]; maintainers = [ lib.maintainers.orivej ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -12,7 +12,7 @@ mkDerivation {
meta = { meta = {
homepage = "https://apps.kde.org/konsole/"; homepage = "https://apps.kde.org/konsole/";
description = "KDE terminal emulator"; description = "KDE terminal emulator";
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = with lib.maintainers; [ ttuegel turion ]; maintainers = with lib.maintainers; [ ttuegel turion ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -12,7 +12,7 @@ mkDerivation {
meta = { meta = {
homepage = "https://apps.kde.org/kontact/"; homepage = "https://apps.kde.org/kontact/";
description = "Personal information manager"; description = "Personal information manager";
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -7,7 +7,7 @@
mkDerivation { mkDerivation {
pname = "kontactinterface"; pname = "kontactinterface";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -15,7 +15,7 @@ mkDerivation {
meta = { meta = {
homepage = "https://apps.kde.org/korganizer/"; homepage = "https://apps.kde.org/korganizer/";
description = "Personal organizer"; description = "Personal organizer";
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -21,7 +21,7 @@ mkDerivation {
freecell-solver freecell-solver
]; ];
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = with lib.maintainers; [ rnhmjoj ]; maintainers = with lib.maintainers; [ rnhmjoj ];
}; };
} }

View file

@ -9,7 +9,7 @@
mkDerivation { mkDerivation {
pname = "kpimtextedit"; pname = "kpimtextedit";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
broken = lib.versionOlder qtbase.version "5.13.0"; broken = lib.versionOlder qtbase.version "5.13.0";
}; };

View file

@ -7,7 +7,7 @@
mkDerivation { mkDerivation {
pname = "kqtquickcharts"; pname = "kqtquickcharts";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = [ lib.maintainers.ttuegel ]; maintainers = [ lib.maintainers.ttuegel ];
}; };
nativeBuildInputs = [ extra-cmake-modules ]; nativeBuildInputs = [ extra-cmake-modules ];

View file

@ -19,7 +19,7 @@ mkDerivation {
meta = with lib; { meta = with lib; {
homepage = "http://www.kde.org"; homepage = "http://www.kde.org";
description = "Remote desktop client"; description = "Remote desktop client";
license = with licenses; [ gpl2 lgpl21 fdl12 bsd3 ]; license = with licenses; [ gpl2Plus lgpl21Plus fdl12Plus bsd3 ];
maintainers = with maintainers; [ peterhoeg ]; maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.linux; platforms = platforms.linux;
broken = lib.versionOlder qtbase.version "5.14"; broken = lib.versionOlder qtbase.version "5.14";

View file

@ -11,7 +11,7 @@ mkDerivation {
meta = { meta = {
homepage = "https://apps.kde.org/krfb/"; homepage = "https://apps.kde.org/krfb/";
description = "Desktop sharing (VNC)"; description = "Desktop sharing (VNC)";
license = with lib.licenses; [ gpl2 fdl12 ]; license = with lib.licenses; [ gpl2Plus fdl12Plus ];
maintainers = with lib.maintainers; [ jerith666 ]; maintainers = with lib.maintainers; [ jerith666 ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -7,7 +7,7 @@
mkDerivation { mkDerivation {
pname = "ksmtp"; pname = "ksmtp";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -7,7 +7,7 @@
mkDerivation { mkDerivation {
pname = "ktnef"; pname = "ktnef";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -7,7 +7,7 @@
mkDerivation { mkDerivation {
pname = "libgravatar"; pname = "libgravatar";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -9,7 +9,7 @@
mkDerivation { mkDerivation {
pname = "libkdepim"; pname = "libkdepim";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -8,7 +8,7 @@
mkDerivation { mkDerivation {
pname = "libkgapi"; pname = "libkgapi";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
broken = lib.versionOlder qtbase.version "5.14.0"; broken = lib.versionOlder qtbase.version "5.14.0";
}; };

View file

@ -8,7 +8,7 @@
mkDerivation { mkDerivation {
pname = "libkleo"; pname = "libkleo";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -9,7 +9,7 @@
mkDerivation { mkDerivation {
pname = "libksieve"; pname = "libksieve";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];

View file

@ -9,7 +9,7 @@
mkDerivation { mkDerivation {
pname = "mailcommon"; pname = "mailcommon";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -8,7 +8,7 @@
mkDerivation { mkDerivation {
pname = "mailimporter"; pname = "mailimporter";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -7,7 +7,7 @@
mkDerivation { mkDerivation {
pname = "mbox-importer"; pname = "mbox-importer";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -11,7 +11,7 @@
mkDerivation { mkDerivation {
pname = "messagelib"; pname = "messagelib";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -30,7 +30,7 @@ mkDerivation {
meta = with lib; { meta = with lib; {
homepage = "http://www.kde.org"; homepage = "http://www.kde.org";
description = "KDE document viewer"; description = "KDE document viewer";
license = with licenses; [ gpl2 lgpl21 fdl12 bsd3 ]; license = with licenses; [ gpl2Plus lgpl21Plus fdl12Plus bsd3 ];
maintainers = with maintainers; [ ttuegel turion ]; maintainers = with maintainers; [ ttuegel turion ];
platforms = lib.platforms.linux; platforms = lib.platforms.linux;
}; };

View file

@ -12,7 +12,7 @@ mkDerivation {
meta = { meta = {
homepage = "https://apps.kde.org/pimdataexporter/"; homepage = "https://apps.kde.org/pimdataexporter/";
description = "Saves and restores all data from PIM apps"; description = "Saves and restores all data from PIM apps";
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -8,7 +8,7 @@
mkDerivation { mkDerivation {
pname = "pim-sieve-editor"; pname = "pim-sieve-editor";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -10,7 +10,7 @@
mkDerivation { mkDerivation {
pname = "pimcommon"; pname = "pimcommon";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam; maintainers = kdepimTeam;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -11,7 +11,7 @@ mkDerivation {
meta = with lib; { meta = with lib; {
homepage = "https://edu.kde.org/rocs/"; homepage = "https://edu.kde.org/rocs/";
description = "A graph theory IDE."; description = "A graph theory IDE.";
license = with licenses; [ gpl2 lgpl21 fdl12 ]; license = with licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
platforms = lib.platforms.linux; platforms = lib.platforms.linux;
maintainers = with maintainers; [ knairda ]; maintainers = with maintainers; [ knairda ];
}; };

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, qt5, cmake { lib, stdenv, fetchFromGitHub, fetchpatch, pkg-config, qt5, cmake
, avahi, boost, libopus, libsndfile, protobuf, speex, libcap , avahi, boost, libopus, libsndfile, protobuf, speex, libcap
, alsa-lib, python3 , alsa-lib, python3
, rnnoise , rnnoise
@ -108,6 +108,17 @@ let
sha256 = "sha256-SYsGCuj3HeyAQRUecGLaRdJR9Rm7lbaM54spY/zx0jU="; sha256 = "sha256-SYsGCuj3HeyAQRUecGLaRdJR9Rm7lbaM54spY/zx0jU=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
patches = [
# fixes 'static assertion failed: static_assert(sizeof(CCameraAngles) == 0x408, "");'
# when compiling pkgsi686Linux.mumble, which is a dependency of x64 mumble_overlay
# https://github.com/mumble-voip/mumble/pull/5850
# Remove with next version update
(fetchpatch {
url = "https://github.com/mumble-voip/mumble/commit/13c051b36b387356815cff5d685bc628b74ba136.patch";
hash = "sha256-Rq8fb6NFd4DCNWm6OOMYIP7tBllufmQcB5CSxPU4qqg=";
})
];
}; };
in { in {
mumble = client source; mumble = client source;

View file

@ -8,6 +8,7 @@ in stdenv.mkDerivation {
version = mumble.version; version = mumble.version;
inherit (mumble) src; inherit (mumble) src;
patches = mumble.patches or [];
installPhase = '' installPhase = ''
mkdir -p $out/lib mkdir -p $out/lib

View file

@ -58,6 +58,6 @@ stdenv.mkDerivation rec {
homepage = "http://pan.rebelbase.com/"; homepage = "http://pan.rebelbase.com/";
maintainers = [ maintainers.eelco ]; maintainers = [ maintainers.eelco ];
platforms = platforms.linux; platforms = platforms.linux;
license = with licenses; [ gpl2Only fdl11 ]; license = with licenses; [ gpl2Only fdl11Only ];
}; };
} }

View file

@ -1,6 +1,6 @@
{ stdenv { stdenv
, lib , lib
, fetchurl , fetchFromGitHub
, fetchpatch , fetchpatch
, makeWrapper , makeWrapper
, cmake , cmake
@ -46,7 +46,7 @@
let let
_llvm_9 = llvm_9.overrideAttrs (prev: { _llvm_9 = llvm_9.overrideAttrs (prev: {
patches = (prev.patches or []) ++ [ patches = (prev.patches or [ ]) ++ [
(fetchpatch { (fetchpatch {
url = "https://github.com/root-project/root/commit/a9c961cf4613ff1f0ea50f188e4a4b0eb749b17d.diff"; url = "https://github.com/root-project/root/commit/a9c961cf4613ff1f0ea50f188e4a4b0eb749b17d.diff";
stripLen = 3; stripLen = 3;
@ -59,11 +59,13 @@ in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "root"; pname = "root";
version = "6.26.06"; version = "6.26.08";
src = fetchurl { src = fetchFromGitHub {
url = "https://root.cern.ch/download/root_v${version}.source.tar.gz"; owner = "root-project";
hash = "sha256-sfc8l2pYClxWyMigFSWCod/FYLTdgOG3VFI3tl5sics="; repo = "root";
rev = "v${builtins.replaceStrings [ "." ] [ "-" ] version}";
sha256 = "sha256-cNd1GvEbO/a+WdDe8EHYGmdlw3TrOT2fWaSk+s7fw7U=";
}; };
nativeBuildInputs = [ makeWrapper cmake pkg-config git ]; nativeBuildInputs = [ makeWrapper cmake pkg-config git ];
@ -129,6 +131,8 @@ stdenv.mkDerivation rec {
# Eliminate impure reference to /System/Library/PrivateFrameworks # Eliminate impure reference to /System/Library/PrivateFrameworks
substituteInPlace core/CMakeLists.txt \ substituteInPlace core/CMakeLists.txt \
--replace "-F/System/Library/PrivateFrameworks" "" --replace "-F/System/Library/PrivateFrameworks" ""
'' + lib.optionalString (stdenv.isDarwin && lib.versionAtLeast stdenv.hostPlatform.darwinMinVersion "11") ''
MACOSX_DEPLOYMENT_TARGET=10.16
''; '';
cmakeFlags = [ cmakeFlags = [
@ -204,6 +208,6 @@ stdenv.mkDerivation rec {
# See https://github.com/NixOS/nixpkgs/pull/192581#issuecomment-1256860426 # See https://github.com/NixOS/nixpkgs/pull/192581#issuecomment-1256860426
# for some context on issues on aarch64. # for some context on issues on aarch64.
broken = stdenv.isAarch64; broken = stdenv.isAarch64 && stdenv.isLinux;
}; };
} }

View file

@ -9,8 +9,8 @@ in {
} {}; } {};
sublime-merge-dev = common { sublime-merge-dev = common {
buildVersion = "2076"; buildVersion = "2078";
x64sha256 = "k43D+TqS1DImpJKzYuf3LqmsxF3XF9Fwqn2txL13xAA="; x64sha256 = "33oJOnsOUr9W+OGMetafaGtXUa+CHxxLjmtDoZliw0k=";
dev = true; dev = true;
} {}; } {};
} }

View file

@ -41,7 +41,7 @@ mkDerivation rec {
meta = with lib; { meta = with lib; {
description = "MPlayer front-end for KDE"; description = "MPlayer front-end for KDE";
license = with licenses; [ gpl2 lgpl2 fdl12 ]; license = with licenses; [ gpl2Plus lgpl2Plus fdl12Plus ];
homepage = "https://kmplayer.kde.org/"; homepage = "https://kmplayer.kde.org/";
maintainers = with maintainers; [ sander zraexy ]; maintainers = with maintainers; [ sander zraexy ];
}; };

View file

@ -15,6 +15,21 @@ rec {
else if platform.isDarwin then "macos" else if platform.isDarwin then "macos"
else platform.parsed.kernel.name; else platform.parsed.kernel.name;
# https://doc.rust-lang.org/reference/conditional-compilation.html#target_family
toTargetFamily = platform:
if platform ? rustc.platform.target-family
then
(
# Since https://github.com/rust-lang/rust/pull/84072
# `target-family` is a list instead of single value.
let
f = platform.rustc.platform.target-family;
in
if builtins.isList f then f else [ f ]
)
else lib.optional platform.isUnix "unix"
++ lib.optional platform.isWindows "windows";
# Returns the name of the rust target, even if it is custom. Adjustments are # Returns the name of the rust target, even if it is custom. Adjustments are
# because rust has slightly different naming conventions than we do. # because rust has slightly different naming conventions than we do.
toRustTarget = platform: let toRustTarget = platform: let

View file

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
description = "GCC C++ STD manual pages"; description = "GCC C++ STD manual pages";
homepage = "https://gcc.gnu.org/"; homepage = "https://gcc.gnu.org/";
license = with licenses; [ fdl12Plus ]; license = with licenses; [ fdl13Plus ];
platforms = platforms.unix; platforms = platforms.unix;
}; };
} }

View file

@ -22,7 +22,7 @@ fetchzip {
mv $out/OTF $out/share/fonts/opentype mv $out/OTF $out/share/fonts/opentype
mv $out/TTF $out/share/fonts/truetype mv $out/TTF $out/share/fonts/truetype
rm -r $out/{EOT,WOFF,WOFF2} rm -r $out/{EOT,WOFF,WOFF2,LICENSE.txt}
''; '';
sha256 = "sha256-1si0d2lpuXaDcSc3giVMMMbZc/eKbHKU3wmwfYHZ8o0="; sha256 = "sha256-1si0d2lpuXaDcSc3giVMMMbZc/eKbHKU3wmwfYHZ8o0=";

View file

@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
description = "MATE User Guide"; description = "MATE User Guide";
homepage = "https://mate-desktop.org"; homepage = "https://mate-desktop.org";
license = with licenses; [ gpl2Plus fdl12 ]; license = with licenses; [ gpl2Plus fdl11Plus ];
platforms = platforms.unix; platforms = platforms.unix;
maintainers = teams.mate.members; maintainers = teams.mate.members;
}; };

View file

@ -43,7 +43,7 @@ let
mit mit
gpl2Plus gpl2Plus
gpl3Plus gpl3Plus
fdl12 fdl12Plus
]; ];
srcs = import ./srcs.nix { srcs = import ./srcs.nix {

View file

@ -12,6 +12,7 @@ final: prev: let
"11.5" = ./manifests/redistrib_11.5.2.json; "11.5" = ./manifests/redistrib_11.5.2.json;
"11.6" = ./manifests/redistrib_11.6.2.json; "11.6" = ./manifests/redistrib_11.6.2.json;
"11.7" = ./manifests/redistrib_11.7.0.json; "11.7" = ./manifests/redistrib_11.7.0.json;
"11.8" = ./manifests/redistrib_11.8.0.json;
}; };
# Function to build a single cudatoolkit redist package # Function to build a single cudatoolkit redist package

View file

@ -1,4 +1,4 @@
From f342b6bfab5eee9c7fea9ddc8804d9a5ff6953eb Mon Sep 17 00:00:00 2001 From 1faa30525c9671ffd3a08901896b521a040d7e5c Mon Sep 17 00:00:00 2001
From: Nick Cao <nickcao@nichi.co> From: Nick Cao <nickcao@nichi.co>
Date: Tue, 20 Sep 2022 18:42:08 +0800 Date: Tue, 20 Sep 2022 18:42:08 +0800
Subject: [PATCH 1/4] skip symlink system libraries Subject: [PATCH 1/4] skip symlink system libraries
@ -8,7 +8,7 @@ Subject: [PATCH 1/4] skip symlink system libraries
1 file changed, 2 deletions(-) 1 file changed, 2 deletions(-)
diff --git a/base/Makefile b/base/Makefile diff --git a/base/Makefile b/base/Makefile
index 23a9c40..12f92aa 100644 index 23a9c4011..12f92aa05 100644
--- a/base/Makefile --- a/base/Makefile
+++ b/base/Makefile +++ b/base/Makefile
@@ -181,7 +181,6 @@ $$(build_private_libdir)/$$(libname_$2): @@ -181,7 +181,6 @@ $$(build_private_libdir)/$$(libname_$2):
@ -28,5 +28,5 @@ index 23a9c40..12f92aa 100644
endif endif
-- --
2.37.2 2.38.1

View file

@ -1,4 +1,4 @@
From 6a7723be33261cdc302e0f7bdb37fb50d30cc5fc Mon Sep 17 00:00:00 2001 From 05c008dcabaf94f5623f2f7e267005eef0a8c5fc Mon Sep 17 00:00:00 2001
From: Nick Cao <nickcao@nichi.co> From: Nick Cao <nickcao@nichi.co>
Date: Tue, 20 Sep 2022 18:42:31 +0800 Date: Tue, 20 Sep 2022 18:42:31 +0800
Subject: [PATCH 2/4] skip building doc Subject: [PATCH 2/4] skip building doc
@ -8,7 +8,7 @@ Subject: [PATCH 2/4] skip building doc
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile diff --git a/Makefile b/Makefile
index d38311d..a775d36 100644 index d38311dce..a775d36e1 100644
--- a/Makefile --- a/Makefile
+++ b/Makefile +++ b/Makefile
@@ -227,7 +227,7 @@ define stringreplace @@ -227,7 +227,7 @@ define stringreplace
@ -21,5 +21,5 @@ index d38311d..a775d36 100644
@$(MAKE) $(QUIET_MAKE) all @$(MAKE) $(QUIET_MAKE) all
else else
-- --
2.37.2 2.38.1

View file

@ -1,4 +1,4 @@
From a57c582eabc4703ed627b32f7f11893db9676fb6 Mon Sep 17 00:00:00 2001 From 756d4e977f8f224e20effa82c612e5a9cc14d82e Mon Sep 17 00:00:00 2001
From: Nick Cao <nickcao@nichi.co> From: Nick Cao <nickcao@nichi.co>
Date: Tue, 20 Sep 2022 18:42:59 +0800 Date: Tue, 20 Sep 2022 18:42:59 +0800
Subject: [PATCH 3/4] skip failing tests Subject: [PATCH 3/4] skip failing tests
@ -8,7 +8,7 @@ Subject: [PATCH 3/4] skip failing tests
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/Makefile b/test/Makefile diff --git a/test/Makefile b/test/Makefile
index 24e137a..0e82acf 100644 index 24e137a5b..c17ccea8a 100644
--- a/test/Makefile --- a/test/Makefile
+++ b/test/Makefile +++ b/test/Makefile
@@ -23,7 +23,7 @@ default: @@ -23,7 +23,7 @@ default:
@ -16,10 +16,10 @@ index 24e137a..0e82acf 100644
$(TESTS): $(TESTS):
@cd $(SRCDIR) && \ @cd $(SRCDIR) && \
- $(call PRINT_JULIA, $(call spawn,$(JULIA_EXECUTABLE)) --check-bounds=yes --startup-file=no --depwarn=error ./runtests.jl $@) - $(call PRINT_JULIA, $(call spawn,$(JULIA_EXECUTABLE)) --check-bounds=yes --startup-file=no --depwarn=error ./runtests.jl $@)
+ $(call PRINT_JULIA, $(call spawn,$(JULIA_EXECUTABLE)) --check-bounds=yes --startup-file=no --depwarn=error ./runtests.jl --skip LibGit2_jll --skip MozillaCACerts_jll --skip NetworkOptions --skip nghttp2_jll $@) + $(call PRINT_JULIA, $(call spawn,$(JULIA_EXECUTABLE)) --check-bounds=yes --startup-file=no --depwarn=error ./runtests.jl --skip LibGit2_jll --skip MozillaCACerts_jll --skip NetworkOptions --skip nghttp2_jll --skip Zlib_jll $@)
$(addprefix revise-, $(TESTS)): revise-% : $(addprefix revise-, $(TESTS)): revise-% :
@cd $(SRCDIR) && \ @cd $(SRCDIR) && \
-- --
2.37.2 2.38.1

View file

@ -1,4 +1,4 @@
From a60100f06f48fbb4697aced65175bf3d41185e3e Mon Sep 17 00:00:00 2001 From c0e587f4c50bd7bedfe6e5102e9b47c9704fac9b Mon Sep 17 00:00:00 2001
From: Nick Cao <nickcao@nichi.co> From: Nick Cao <nickcao@nichi.co>
Date: Tue, 20 Sep 2022 18:43:15 +0800 Date: Tue, 20 Sep 2022 18:43:15 +0800
Subject: [PATCH 4/4] ignore absolute path when loading library Subject: [PATCH 4/4] ignore absolute path when loading library
@ -8,7 +8,7 @@ Subject: [PATCH 4/4] ignore absolute path when loading library
1 file changed, 1 insertion(+), 3 deletions(-) 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/cli/loader_lib.c b/cli/loader_lib.c diff --git a/cli/loader_lib.c b/cli/loader_lib.c
index 0301b6e..5cbda61 100644 index 0301b6eed..5cbda61af 100644
--- a/cli/loader_lib.c --- a/cli/loader_lib.c
+++ b/cli/loader_lib.c +++ b/cli/loader_lib.c
@@ -50,9 +50,7 @@ static void * load_library(const char * rel_path, const char * src_dir, int err) @@ -50,9 +50,7 @@ static void * load_library(const char * rel_path, const char * src_dir, int err)
@ -23,5 +23,5 @@ index 0301b6e..5cbda61 100644
#if defined(_OS_WINDOWS_) #if defined(_OS_WINDOWS_)
wchar_t wpath[2*JL_PATH_MAX + 1] = {0}; wchar_t wpath[2*JL_PATH_MAX + 1] = {0};
-- --
2.37.2 2.38.1

View file

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "joker"; pname = "joker";
version = "1.0.2"; version = "1.1.0";
src = fetchFromGitHub { src = fetchFromGitHub {
rev = "v${version}"; rev = "v${version}";
owner = "candid82"; owner = "candid82";
repo = "joker"; repo = "joker";
sha256 = "sha256-u8wxyFYlqKL+NsSh+rM634MA9XsR9aJUJ+OtQ61uAFo="; sha256 = "sha256-ERkK4T+nUTf18OoEctSugeK4i/f6k0naBKxzn+6pe38=";
}; };
vendorSha256 = "sha256-AYoespfzFLP/jIIxbw5K653wc7sSfLY8K7di8GZ64wA="; vendorSha256 = "sha256-AYoespfzFLP/jIIxbw5K653wc7sSfLY8K7di8GZ64wA=";

View file

@ -0,0 +1,71 @@
{ stdenv
, lib
, fetchFromGitHub
, gnat12
, gnatcoll-core
, gprbuild
, python3
, why3
, ocaml
, ocamlPackages
, makeWrapper
}:
stdenv.mkDerivation rec {
pname = "spark2014";
version = "unstable-2022-05-25";
src = fetchFromGitHub {
owner = "AdaCore";
repo = "spark2014";
# commit on fsf-12 branch
rev = "ab34e07080a769b63beacc141707b5885c49d375";
sha256 = "sha256-7pe3eWitpxmqzjW6qEIEuN0qr2IR+kJ7Ssc9pTBcCD8=";
fetchSubmodules = true;
};
nativeBuildInputs = [
gnat12
gprbuild
python3
ocaml
makeWrapper
];
buildInputs = [
gnatcoll-core
ocamlPackages.camlzip
ocamlPackages.findlib
ocamlPackages.menhir
ocamlPackages.menhirLib
ocamlPackages.num
ocamlPackages.yojson
ocamlPackages.zarith
];
postPatch = ''
# gnat2why/gnat_src points to the GNAT sources
tar xf ${gnat12.cc.src} gcc-12.2.0/gcc/ada
mv gcc-12.2.0/gcc/ada gnat2why/gnat_src
'';
configurePhase = ''
make setup
'';
postInstall = ''
cp -a ./install/. $out
# help gnatprove to locate why3server
wrapProgram "$out/bin/gnatprove" \
--prefix PATH : "${why3}/lib/why3"
'';
meta = with lib; {
description = "a software development technology specifically designed for engineering high-reliability applications";
homepage = "https://github.com/AdaCore/spark2014";
maintainers = [ maintainers.jiegec ];
license = licenses.gpl3;
platforms = platforms.all;
};
}

View file

@ -32,7 +32,7 @@ let
broken = lib.versionOlder libsForQt5.qtbase.version minQtVersion; broken = lib.versionOlder libsForQt5.qtbase.version minQtVersion;
maintainers = with lib.maintainers; [ ttuegel nyanloutre ]; maintainers = with lib.maintainers; [ ttuegel nyanloutre ];
license = with lib.licenses; [ license = with lib.licenses; [
lgpl21Plus lgpl3Plus bsd2 mit gpl2Plus gpl3Plus fdl12 lgpl21Plus lgpl3Plus bsd2 mit gpl2Plus gpl3Plus fdl12Plus
]; ];
srcs = import ./srcs.nix { srcs = import ./srcs.nix {

View file

@ -7,7 +7,7 @@
mkDerivation { mkDerivation {
pname = "kdav"; pname = "kdav";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ kcoreaddons kio qtxmlpatterns ]; buildInputs = [ kcoreaddons kio qtxmlpatterns ];

View file

@ -7,7 +7,7 @@
mkDerivation { mkDerivation {
pname = "kholidays"; pname = "kholidays";
meta = { meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = with lib.maintainers; [ bkchr ]; maintainers = with lib.maintainers; [ bkchr ];
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools ]; nativeBuildInputs = [ extra-cmake-modules kdoctools ];

View file

@ -1,4 +1,11 @@
{lib, stdenv, fetchurl, libusb-compat-0_1}: { lib
, stdenv
, fetchurl
, libusb-compat-0_1
, Security
, IOKit
, libobjc
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libftdi"; pname = "libftdi";
@ -9,7 +16,7 @@ stdenv.mkDerivation rec {
sha256 = "13l39f6k6gff30hsgh0wa2z422g9pyl91rh8a8zz6f34k2sxaxii"; sha256 = "13l39f6k6gff30hsgh0wa2z422g9pyl91rh8a8zz6f34k2sxaxii";
}; };
buildInputs = [ libusb-compat-0_1 ]; buildInputs = [ libusb-compat-0_1 ] ++ lib.optionals stdenv.isDarwin [ libobjc Security IOKit ];
propagatedBuildInputs = [ libusb-compat-0_1 ]; propagatedBuildInputs = [ libusb-compat-0_1 ];

View file

@ -8,11 +8,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libmysqlconnectorcpp"; pname = "libmysqlconnectorcpp";
version = "8.0.30"; version = "8.0.31";
src = fetchurl { src = fetchurl {
url = "https://cdn.mysql.com/Downloads/Connector-C++/mysql-connector-c++-${version}-src.tar.gz"; url = "https://cdn.mysql.com/Downloads/Connector-C++/mysql-connector-c++-${version}-src.tar.gz";
sha256 = "sha256-WyzuvjmG/m1rDG8ptpEss6HKv5mNLExBJ0UnaN51qws="; hash = "sha256-HSF7yEybmzzDQvl1cwUZ/mlXqVXxnIHqg2a/HfJtELA=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -12,7 +12,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ autoreconfHook ]; nativeBuildInputs = [ autoreconfHook ];
NIX_CFLAGS_COMPILE = [ "-std=c++11" ]; CXXFLAGS = "-std=c++11";
meta = with lib; { meta = with lib; {
description = "A forked version of log4cpp that has been created for the Shibboleth project"; description = "A forked version of log4cpp that has been created for the Shibboleth project";

View file

@ -368,7 +368,7 @@ stdenv.mkDerivation {
meta = with lib; { meta = with lib; {
homepage = "https://www.qt.io/"; homepage = "https://www.qt.io/";
description = "A cross-platform application framework for C++"; description = "A cross-platform application framework for C++";
license = with licenses; [ fdl13 gpl2 lgpl21 lgpl3 ]; license = with licenses; [ fdl13Plus gpl2Plus lgpl21Plus lgpl3Plus ];
maintainers = with maintainers; [ qknight ttuegel periklis bkchr ]; maintainers = with maintainers; [ qknight ttuegel periklis bkchr ];
platforms = platforms.unix; platforms = platforms.unix;
# Qt5 is broken on aarch64-darwin # Qt5 is broken on aarch64-darwin

View file

@ -70,7 +70,7 @@ mkDerivation (args // {
meta = { meta = {
homepage = "https://www.qt.io"; homepage = "https://www.qt.io";
description = "A cross-platform application framework for C++"; description = "A cross-platform application framework for C++";
license = with licenses; [ fdl13 gpl2 lgpl21 lgpl3 ]; license = with licenses; [ fdl13Plus gpl2Plus lgpl21Plus lgpl3Plus ];
maintainers = with maintainers; [ qknight ttuegel periklis bkchr ]; maintainers = with maintainers; [ qknight ttuegel periklis bkchr ];
platforms = platforms.unix; platforms = platforms.unix;
} // (args.meta or {}); } // (args.meta or {});

View file

@ -257,7 +257,7 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
homepage = "https://www.qt.io/"; homepage = "https://www.qt.io/";
description = "A cross-platform application framework for C++"; description = "A cross-platform application framework for C++";
license = with licenses; [ fdl13 gpl2 lgpl21 lgpl3 ]; license = with licenses; [ fdl13Plus gpl2Plus lgpl21Plus lgpl3Plus ];
maintainers = with maintainers; [ milahu nickcao LunNova ]; maintainers = with maintainers; [ milahu nickcao LunNova ];
platforms = platforms.linux; platforms = platforms.linux;
}; };

View file

@ -81,7 +81,7 @@ stdenv.mkDerivation (args // {
meta = with lib; { meta = with lib; {
homepage = "https://www.qt.io/"; homepage = "https://www.qt.io/";
description = "A cross-platform application framework for C++"; description = "A cross-platform application framework for C++";
license = with licenses; [ fdl13 gpl2 lgpl21 lgpl3 ]; license = with licenses; [ fdl13Plus gpl2Plus lgpl21Plus lgpl3Plus ];
maintainers = with maintainers; [ milahu nickcao ]; maintainers = with maintainers; [ milahu nickcao ];
platforms = platforms.linux; platforms = platforms.linux;
} // (args.meta or { }); } // (args.meta or { });

View file

@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
homepage = "http://qt.nokia.com/products/qt-addons/mobility"; homepage = "http://qt.nokia.com/products/qt-addons/mobility";
maintainers = [ maintainers.qknight ]; maintainers = [ maintainers.qknight ];
platforms = platforms.linux; platforms = platforms.linux;
license = with licenses; [ bsd3 fdl13 gpl3 lgpl21 ]; license = with licenses; [ bsd3 fdl13Plus gpl3Plus lgpl21Plus ];
}; };
} }

View file

@ -1,6 +1,9 @@
{ lib { lib
, buildGoModule , buildGoModule
, fetchFromGitHub , fetchFromGitHub
, stdenv
, Cocoa
, fetchpatch
}: }:
buildGoModule rec { buildGoModule rec {
@ -14,9 +17,21 @@ buildGoModule rec {
sha256 = "sha256-vciSmXR3wI3KcnC+Uz36AgI/WUfztA05MJv1InuOjJM="; sha256 = "sha256-vciSmXR3wI3KcnC+Uz36AgI/WUfztA05MJv1InuOjJM=";
}; };
buildInputs = lib.optionals stdenv.isDarwin [
Cocoa
];
patches = [
# update x/sys dependency for darwin build https://github.com/itchio/butler/pull/245
(fetchpatch {
url = "https://github.com/itchio/butler/pull/245/commits/ef651d373e3061fda9692dd44ae0f7ce215e9655.patch";
hash = "sha256-rZZn/OGiv3mRyy89uORyJ99zWN21kZCCQAlFvSKxlPU=";
})
];
proxyVendor = true; proxyVendor = true;
vendorSha256 = "sha256-EIl0ZFDKbZopUR22hp5a2vRUu0O1h1O953NrtoNa2x8="; vendorSha256 = "sha256-CtBwc5mcgLvl2Bvg5gI+ULJMQEEibx1aN3IpmRNUtwE=";
doCheck = false; doCheck = false;

View file

@ -33,7 +33,7 @@ stdenv.mkDerivation {
description = "NVIDIA Linux Open GPU Kernel Module"; description = "NVIDIA Linux Open GPU Kernel Module";
homepage = "https://github.com/NVIDIA/open-gpu-kernel-modules"; homepage = "https://github.com/NVIDIA/open-gpu-kernel-modules";
license = with licenses; [ gpl2Plus mit ]; license = with licenses; [ gpl2Plus mit ];
platforms = platforms.linux; platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ nickcao ]; maintainers = with maintainers; [ nickcao ];
inherit broken; inherit broken;
}; };

View file

@ -9,13 +9,13 @@
buildDotnetModule rec { buildDotnetModule rec {
pname = "jackett"; pname = "jackett";
version = "0.20.2175"; version = "0.20.2225";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = pname;
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "MkMEsD8hU23RPvLJvEN2IT5BiuE1ySuVRLmPK2Yqsa0="; sha256 = "HrI0B5gvN/UC9TmErwsmRc85aqCXfYYEQfPkRchHY5Q=";
}; };
projectFile = "src/Jackett.Server/Jackett.Server.csproj"; projectFile = "src/Jackett.Server/Jackett.Server.csproj";

View file

@ -4,12 +4,12 @@
with python3Packages; buildPythonApplication rec { with python3Packages; buildPythonApplication rec {
pname = "synadm"; pname = "synadm";
version = "0.36"; version = "0.37.1";
format = "setuptools"; format = "setuptools";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-OMXUbfAC927qJw0B5sq1lGJQRkFAUdohIOkCYUbZumI="; sha256 = "sha256-6RlgPiYxbnTGJBpNIM1dzAuGTbvydnXkfywSsI0G/oc=";
}; };
postPatch = '' postPatch = ''

View file

@ -1,4 +1,4 @@
{ stdenv, nixosTests, lib, fetchurl, pkg-config, jansson, pcre, libxcrypt { stdenv, nixosTests, lib, pkg-config, jansson, pcre, libxcrypt
# plugins: list of strings, eg. [ "python2" "python3" ] # plugins: list of strings, eg. [ "python2" "python3" ]
, plugins ? [] , plugins ? []
, pam, withPAM ? stdenv.isLinux , pam, withPAM ? stdenv.isLinux
@ -6,6 +6,7 @@
, libcap, withCap ? stdenv.isLinux , libcap, withCap ? stdenv.isLinux
, python2, python3, ncurses , python2, python3, ncurses
, ruby, php , ruby, php
, makeWrapper, fetchFromGitHub
}: }:
let php-embed = php.override { let php-embed = php.override {
@ -59,20 +60,21 @@ in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "uwsgi"; pname = "uwsgi";
version = "2.0.20"; version = "2.0.21";
src = fetchurl { src = fetchFromGitHub {
url = "https://projects.unbit.it/downloads/${pname}-${version}.tar.gz"; owner = "unbit";
sha256 = "1yfz5h07rxzrqf1rdj5fzhk47idgglxj7kqr8zl8lgcpv1kriaw8"; repo = "uwsgi";
rev = version;
sha256 = "sha256-TUASYDyG+p1tlhmqi+ivaC7aW6UZBrPTFQUTYys5ICE=";
}; };
patches = [ patches = [
./no-ext-session-php_session.h-on-NixOS.patch ./no-ext-session-php_session.h-on-NixOS.patch
./additional-php-ldflags.patch ./additional-php-ldflags.patch
./missing-arginfo-php8.patch # https://github.com/unbit/uwsgi/issues/2356
]; ];
nativeBuildInputs = [ python3 pkg-config ]; nativeBuildInputs = [ python3 pkg-config makeWrapper ];
buildInputs = [ jansson pcre libxcrypt ] buildInputs = [ jansson pcre libxcrypt ]
++ lib.optional withPAM pam ++ lib.optional withPAM pam
@ -126,6 +128,11 @@ stdenv.mkDerivation rec {
${lib.concatMapStringsSep "\n" (x: x.install or "") needed} ${lib.concatMapStringsSep "\n" (x: x.install or "") needed}
''; '';
postFixup = lib.optionalString (builtins.any (x: x.name == "php") needed)
''
wrapProgram $out/bin/uwsgi --set PHP_INI_SCAN_DIR ${php-embed}/lib
'';
meta = with lib; { meta = with lib; {
homepage = "https://uwsgi-docs.readthedocs.org/en/latest/"; homepage = "https://uwsgi-docs.readthedocs.org/en/latest/";
description = "A fast, self-healing and developer/sysadmin-friendly application container server coded in pure C"; description = "A fast, self-healing and developer/sysadmin-friendly application container server coded in pure C";

View file

@ -1,49 +0,0 @@
diff --git a/plugins/php/php_plugin.c b/plugins/php/php_plugin.c
index ca0ef6c1..00c39b09 100644
--- a/plugins/php/php_plugin.c
+++ b/plugins/php/php_plugin.c
@@ -257,6 +257,9 @@ PHP_MINIT_FUNCTION(uwsgi_php_minit) {
return SUCCESS;
}
+ZEND_BEGIN_ARG_INFO_EX(arginfo_void, 0, 0, 0)
+ZEND_END_ARG_INFO()
+
PHP_FUNCTION(uwsgi_version) {
RETURN_STRING(UWSGI_VERSION);
}
@@ -488,20 +491,20 @@ PHP_FUNCTION(uwsgi_signal) {
}
zend_function_entry uwsgi_php_functions[] = {
- PHP_FE(uwsgi_version, NULL)
- PHP_FE(uwsgi_setprocname, NULL)
- PHP_FE(uwsgi_worker_id, NULL)
- PHP_FE(uwsgi_masterpid, NULL)
- PHP_FE(uwsgi_signal, NULL)
-
- PHP_FE(uwsgi_rpc, NULL)
-
- PHP_FE(uwsgi_cache_get, NULL)
- PHP_FE(uwsgi_cache_set, NULL)
- PHP_FE(uwsgi_cache_update, NULL)
- PHP_FE(uwsgi_cache_del, NULL)
- PHP_FE(uwsgi_cache_clear, NULL)
- PHP_FE(uwsgi_cache_exists, NULL)
+ PHP_FE(uwsgi_version, arginfo_void)
+ PHP_FE(uwsgi_setprocname, arginfo_void)
+ PHP_FE(uwsgi_worker_id, arginfo_void)
+ PHP_FE(uwsgi_masterpid, arginfo_void)
+ PHP_FE(uwsgi_signal, arginfo_void)
+
+ PHP_FE(uwsgi_rpc, arginfo_void)
+
+ PHP_FE(uwsgi_cache_get, arginfo_void)
+ PHP_FE(uwsgi_cache_set, arginfo_void)
+ PHP_FE(uwsgi_cache_update, arginfo_void)
+ PHP_FE(uwsgi_cache_del, arginfo_void)
+ PHP_FE(uwsgi_cache_clear, arginfo_void)
+ PHP_FE(uwsgi_cache_exists, arginfo_void)
{ NULL, NULL, NULL},
};

View file

@ -21,26 +21,38 @@
let let
pname = "mozillavpn"; pname = "mozillavpn";
version = "2.9.0"; version = "2.10.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mozilla-mobile"; owner = "mozilla-mobile";
repo = "mozilla-vpn-client"; repo = "mozilla-vpn-client";
rev = "v${version}"; rev = "v${version}";
fetchSubmodules = true; fetchSubmodules = true;
hash = "sha256-arz8hTgQfPFSZesSddcnZoyLfoLQsQT8LIsl+3ZfA0M="; hash = "sha256-am2acceDig7tjhkO5GiWfvkq0Mabyxedbc8mR49SXBU=";
}; };
netfilter-go-modules = (buildGoModule { netfilter-go-modules = (buildGoModule {
inherit pname version src; inherit pname version src;
vendorSha256 = "KFYMim5U8WlJHValvIBQgEN+17SDv0JVbH03IiyfDc0=";
modRoot = "linux/netfilter"; modRoot = "linux/netfilter";
vendorHash = "sha256-Cmo0wnl0z5r1paaEf1MhCPbInWeoMhGjnxCxGh0cyO8=";
}).go-modules; }).go-modules;
cargoRoot = "extension/bridge"; extensionBridgeDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}-extension-bridge";
preBuild = "cd extension/bridge";
hash = "sha256-sw6iylh3SgCDA1z/xvwNGWrCU2xr7IVPUL4fdOi43lc=";
};
signatureDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}-signature";
preBuild = "cd signature";
hash = "sha256-gBJIzTTo6i415aHwUsBriokUt2K/r55QCpC6Tv8GXh4=";
};
in in
stdenv.mkDerivation { stdenv.mkDerivation {
inherit pname version src cargoRoot; inherit pname version src;
buildInputs = [ buildInputs = [
polkit polkit
@ -65,12 +77,18 @@ stdenv.mkDerivation {
wrapQtAppsHook wrapQtAppsHook
]; ];
cargoDeps = rustPlatform.fetchCargoTarball { postUnpack = ''
inherit src; pushd source/extension/bridge
name = "${pname}-${version}"; cargoDeps='${extensionBridgeDeps}' cargoSetupPostUnpackHook
preBuild = "cd ${cargoRoot}"; extensionBridgeDepsCopy="$cargoDepsCopy"
hash = "sha256-lJfDLyoVDSFiZyWcBTI085MorWHPcNW4i7ua1+Ip3rA="; popd
};
pushd source/signature
cargoDeps='${signatureDeps}' cargoSetupPostUnpackHook
signatureDepsCopy="$cargoDepsCopy"
popd
'';
dontCargoSetupPostUnpack = true;
postPatch = '' postPatch = ''
for file in linux/*.service linux/extra/*.desktop src/platforms/linux/daemon/*.service; do for file in linux/*.service linux/extra/*.desktop src/platforms/linux/daemon/*.service; do
@ -82,12 +100,28 @@ stdenv.mkDerivation {
--replace 'rcc = os.path.join(qtbinpath, rcc_bin)' 'rcc = "${qtbase.dev}/libexec/rcc"' --replace 'rcc = os.path.join(qtbinpath, rcc_bin)' 'rcc = "${qtbase.dev}/libexec/rcc"'
substituteInPlace src/cmake/linux.cmake \ substituteInPlace src/cmake/linux.cmake \
--replace '/etc/xdg/autostart' "$out/etc/xdg/autostart" \
--replace '${"$"}{POLKIT_POLICY_DIR}' "$out/share/polkit-1/actions" \
--replace '/usr/share/dbus-1' "$out/share/dbus-1" \
--replace '${"$"}{SYSTEMD_UNIT_DIR}' "$out/lib/systemd/system" --replace '${"$"}{SYSTEMD_UNIT_DIR}' "$out/lib/systemd/system"
substituteInPlace extension/CMakeLists.txt \
--replace '/etc' "$out/etc"
substituteInPlace src/connectionbenchmark/benchmarktaskdownload.cpp \ substituteInPlace src/connectionbenchmark/benchmarktaskdownload.cpp \
--replace 'QT_VERSION >= 0x060400' 'false' --replace 'QT_VERSION >= 0x060400' 'false'
ln -s '${netfilter-go-modules}' linux/netfilter/vendor ln -s '${netfilter-go-modules}' linux/netfilter/vendor
pushd extension/bridge
cargoDepsCopy="$extensionBridgeDepsCopy" cargoSetupPostPatchHook
popd
pushd signature
cargoDepsCopy="$signatureDepsCopy" cargoSetupPostPatchHook
popd
cargoSetupPostPatchHook() { true; }
''; '';
cmakeFlags = [ cmakeFlags = [
@ -95,6 +129,7 @@ stdenv.mkDerivation {
"-DQT_LUPDATE_EXECUTABLE=${qttools.dev}/bin/lupdate" "-DQT_LUPDATE_EXECUTABLE=${qttools.dev}/bin/lupdate"
"-DQT_LRELEASE_EXECUTABLE=${qttools.dev}/bin/lrelease" "-DQT_LRELEASE_EXECUTABLE=${qttools.dev}/bin/lrelease"
]; ];
dontFixCmake = true;
qtWrapperArgs = qtWrapperArgs =
[ "--prefix" "PATH" ":" (lib.makeBinPath [ wireguard-tools ]) ]; [ "--prefix" "PATH" ":" (lib.makeBinPath [ wireguard-tools ]) ];

View file

@ -1285,7 +1285,9 @@ with pkgs;
asleap = callPackage ../tools/networking/asleap { }; asleap = callPackage ../tools/networking/asleap { };
butler = callPackage ../games/itch/butler.nix { }; butler = callPackage ../games/itch/butler.nix {
inherit (darwin.apple_sdk.frameworks) Cocoa;
};
cf-vault = callPackage ../tools/admin/cf-vault { }; cf-vault = callPackage ../tools/admin/cf-vault { };
@ -15984,6 +15986,8 @@ with pkgs;
sparkleshare = callPackage ../applications/version-management/sparkleshare { }; sparkleshare = callPackage ../applications/version-management/sparkleshare { };
spark2014 = callPackage ../development/libraries/ada/spark2014 { };
spidermonkey_78 = callPackage ../development/interpreters/spidermonkey/78.nix { spidermonkey_78 = callPackage ../development/interpreters/spidermonkey/78.nix {
inherit (darwin) libobjc; inherit (darwin) libobjc;
}; };
@ -20278,7 +20282,10 @@ with pkgs;
inherit (darwin) libobjc; inherit (darwin) libobjc;
}; };
libftdi = callPackage ../development/libraries/libftdi { }; libftdi = callPackage ../development/libraries/libftdi {
inherit (darwin) libobjc;
inherit (darwin.apple_sdk.frameworks) IOKit Security;
};
libftdi1 = callPackage ../development/libraries/libftdi/1.x.nix { }; libftdi1 = callPackage ../development/libraries/libftdi/1.x.nix { };
@ -20413,9 +20420,7 @@ with pkgs;
libmysofa = callPackage ../development/libraries/audio/libmysofa { }; libmysofa = callPackage ../development/libraries/audio/libmysofa { };
libmysqlconnectorcpp = callPackage ../development/libraries/libmysqlconnectorcpp { libmysqlconnectorcpp = callPackage ../development/libraries/libmysqlconnectorcpp {};
openssl = openssl_1_1;
};
libnatpmp = callPackage ../development/libraries/libnatpmp { }; libnatpmp = callPackage ../development/libraries/libnatpmp { };
@ -27264,6 +27269,7 @@ with pkgs;
aqemu = libsForQt5.callPackage ../applications/virtualization/aqemu { }; aqemu = libsForQt5.callPackage ../applications/virtualization/aqemu { };
ardour_6 = callPackage ../applications/audio/ardour/6.nix { };
ardour = callPackage ../applications/audio/ardour { }; ardour = callPackage ../applications/audio/ardour { };
arelle = with python3Packages; toPythonApplication arelle; arelle = with python3Packages; toPythonApplication arelle;

View file

@ -47,7 +47,12 @@ in
# it's a directory, so the set of overlays from the directory, ordered lexicographically # it's a directory, so the set of overlays from the directory, ordered lexicographically
let content = builtins.readDir path; in let content = builtins.readDir path; in
map (n: import (path + ("/" + n))) map (n: import (path + ("/" + n)))
(builtins.filter (n: builtins.match ".*\\.nix" n != null || builtins.pathExists (path + ("/" + n + "/default.nix"))) (builtins.filter
(n:
(builtins.match ".*\\.nix" n != null &&
# ignore Emacs lock files (.#foo.nix)
builtins.match "\\.#.*" n == null) ||
builtins.pathExists (path + ("/" + n + "/default.nix")))
(builtins.attrNames content)) (builtins.attrNames content))
else else
# it's a file, so the result is the contents of the file itself # it's a file, so the result is the contents of the file itself