···130130131131 nodeHostNames = map (c: c.config.system.name) (lib.attrValues nodes);
132132133133+ # TODO: This is an implementation error and needs fixing
134134+ # the testing famework cannot legitimately restrict hostnames further
135135+ # beyond RFC1035
133136 invalidNodeNames = lib.filter
134137 (node: builtins.match "^[A-z_]([A-z0-9_]+)?$" node == null)
135135- (builtins.attrNames nodes);
138138+ nodeHostNames;
136139137140 testScript' =
138141 # Call the test script with the computed nodes.
···146149 Cannot create machines out of (${lib.concatStringsSep ", " invalidNodeNames})!
147150 All machines are referenced as python variables in the testing framework which will break the
148151 script when special characters are used.
149149- Please stick to alphanumeric chars and underscores as separation.
152152+153153+ This is an IMPLEMENTATION ERROR and needs to be fixed. Meanwhile,
154154+ please stick to alphanumeric chars and underscores as separation.
150155 ''
151156 else lib.warnIf skipLint "Linting is disabled" (runCommand testDriverName
152157 {
···11-{ fetchurl, lib, mkDerivation, pkg-config, python, file, bc
11+{ fetchurl, lib, mkDerivation, pkg-config, python3, file, bc
22, qtbase, qtsvg, hunspell, makeWrapper #, mythes, boost
33}:
44···1414 # LaTeX is used from $PATH, as people often want to have it with extra pkgs
1515 nativeBuildInputs = [ pkg-config ];
1616 buildInputs = [
1717- qtbase qtsvg python file/*for libmagic*/ bc
1717+ qtbase qtsvg python3 file/*for libmagic*/ bc
1818 hunspell makeWrapper # enchant
1919 ];
2020···31313232 # python is run during runtime to do various tasks
3333 qtWrapperArgs = [
3434- " --prefix PATH : ${python}/bin"
3434+ " --prefix PATH : ${python3}/bin"
3535 ];
36363737 meta = with lib; {
···2828 else "");
2929in stdenv.mkDerivation rec {
3030 pname = "signal-desktop";
3131- version = "5.10.0"; # Please backport all updates to the stable channel.
3131+ version = "5.11.0"; # Please backport all updates to the stable channel.
3232 # All releases have a limited lifetime and "expire" 90 days after the release.
3333 # When releases "expire" the application becomes unusable until an update is
3434 # applied. The expiration date for the current release can be extracted with:
···38383939 src = fetchurl {
4040 url = "https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop/signal-desktop_${version}_amd64.deb";
4141- sha256 = "049i4nypqr6lx8f3w32pia6cfb3pmqmvasxjb5zhp6mxb3vn7wz3";
4141+ sha256 = "17r7apmsz5bvcfnf81m6jjsj17a4h7bhgy1vllwyyvaa585nspmp";
4242 };
43434444 nativeBuildInputs = [
···11+{ lib
22+, stdenv
33+, fetchurl
44+, texinfo
55+}:
66+77+stdenv.mkDerivation rec {
88+ pname = "marst";
99+ version = "2.7";
1010+1111+ src = fetchurl {
1212+ url = "mirror://gnu/gnu/${pname}/${pname}-${version}.tar.gz";
1313+ hash = "sha256-Pue50cvjzZ+19iJxfae7VQbxpto7MPgS4jhLh7zk2lA=";
1414+ };
1515+1616+ nativeBuildInputs = [
1717+ texinfo
1818+ ];
1919+2020+ postBuild = ''
2121+ makeinfo doc/marst.texi -o doc/marst.info
2222+ '';
2323+2424+ postInstall = ''
2525+ install -m644 doc/marst.info -Dt $out/share/info/
2626+ install -m644 doc/marst.pdf -Dt $out/share/doc/${pname}/
2727+ '';
2828+2929+ meta = with lib; {
3030+ homepage = "https://www.gnu.org/software/marst/";
3131+ description = "An Algol-60-to-C translator";
3232+ longDescription = ''
3333+ MARST is an Algol-to-C translator. It automatically translates programs
3434+ written on the algorithmic language Algol 60 to the C programming
3535+ language.
3636+3737+ The MARST package includes three main components:
3838+3939+ - the translator, MARST, that translates Algol 60 programs to the C
4040+ programming language.
4141+4242+ - the library, ALGLIB, that contains precompiled standard Algol 60
4343+ procedures and other necessary library routines. This library is to be
4444+ used at linking stage. (In the distribution the name libalgol.a is used
4545+ for this library.)
4646+4747+ - the converter, MACVT, that allows to convert existing Algol 60 programs
4848+ from some other representations to MARST representation.
4949+ '';
5050+ license = licenses.gpl3Plus;
5151+ maintainers = with maintainers; [ AndersonTorres ];
5252+ platforms = platforms.unix;
5353+ };
5454+}
···11+{ lib, mkCoqDerivation, coq, mathcomp-algebra, mathcomp-finmap
22+, hierarchy-builder, version ? null }:
33+44+with lib;
55+66+mkCoqDerivation {
77+ pname = "graph-theory";
88+99+ release."0.9".sha256 = "sha256-Hl3JS9YERD8QQziXqZ9DqLHKp63RKI9HxoFYWSkJQZI=";
1010+1111+ releaseRev = v: "v${v}";
1212+1313+ inherit version;
1414+ defaultVersion = with versions; switch coq.coq-version [
1515+ { case = isGe "8.13"; out = "0.9"; }
1616+ ] null;
1717+1818+ propagatedBuildInputs = [ mathcomp-algebra mathcomp-finmap hierarchy-builder ];
1919+2020+ meta = {
2121+ description = "Library of formalized graph theory results in Coq";
2222+ longDescription = ''
2323+ A library of formalized graph theory results, including various
2424+ standard results from the literature (e.g., Menger’s Theorem, Hall’s
2525+ Marriage Theorem, and the excluded minor characterization of
2626+ treewidth-two graphs) as well as some more recent results arising from
2727+ the study of relation algebra within the ERC CoVeCe project (e.g.,
2828+ soundness and completeness of an axiomatization of graph isomorphism).
2929+ '';
3030+ maintainers = with maintainers; [ siraben ];
3131+ license = licenses.cecill-b;
3232+ };
3333+}
···1010, wafHook
1111}:
12121313-stdenv.mkDerivation (rec {
1313+stdenv.mkDerivation rec {
1414 pname = "talloc";
1515 version = "2.3.2";
1616···4242 "--builtin-libraries=replace"
4343 ];
44444545+ # python-config from build Python gives incorrect values when cross-compiling.
4646+ # If python-config is not found, the build falls back to using the sysconfig
4747+ # module, which works correctly in all cases.
4848+ PYTHON_CONFIG = "/invalid";
4949+4550 # this must not be exported before the ConfigurePhase otherwise waf whines
4651 preBuild = lib.optionalString stdenv.hostPlatform.isMusl ''
4752 export NIX_CFLAGS_LINK="-no-pie -shared";
···5762 license = licenses.gpl3;
5863 platforms = platforms.all;
5964 };
6060-} // lib.optionalAttrs (stdenv.hostPlatform != stdenv.buildPlatform) {
6161- # python-config from build Python gives incorrect values when cross-compiling.
6262- # If python-config is not found, the build falls back to using the sysconfig
6363- # module, which works correctly when cross-compiling.
6464- PYTHON_CONFIG = "/invalid";
6565-})
6565+}
+6
pkgs/development/libraries/tdb/default.nix
···1919 };
20202121 nativeBuildInputs = [
2222+ python3
2223 pkg-config
2324 wafHook
2425 libxslt
···3738 "--bundled-libraries=NONE"
3839 "--builtin-libraries=replace"
3940 ];
4141+4242+ # python-config from build Python gives incorrect values when cross-compiling.
4343+ # If python-config is not found, the build falls back to using the sysconfig
4444+ # module, which works correctly in all cases.
4545+ PYTHON_CONFIG = "/invalid";
40464147 meta = with lib; {
4248 description = "The trivial database";
···11+From e002d2ef2688d5433d2bd03aa4d77a0ec5ac4e63 Mon Sep 17 00:00:00 2001
22+From: Uri Simchoni <uri@samba.org>
33+Date: Sun, 20 Oct 2019 00:03:14 +0300
44+Subject: [PATCH] build: find pre-built heimdal build tools in case of embedded
55+ heimdal
66+77+This patch fixes the case of finding asn1_compile and compile_et for
88+building embedded heimdal, by setting
99+--bundled-libraries='!asn1_compile,!compile_et' as configure flags.
1010+1111+The Heimdal build tools compile_et and asn1_compile are needed *only*
1212+if we use the embedded heimdal (otherwise we don't build heimdal and
1313+use headers that have been generated by those tools elsewhere).
1414+1515+For cross-compilation with embedded heimdal, it is vital to use host build
1616+tools, and so asn1_compile and compile_et must be supplied and not
1717+built. One way of doing this would be to set the COMPILE_ET and
1818+ASN1_COMPILE env vars to the location of supplied binaries. Another way,
1919+which is more commonly used, is to exclude asn1_compile and compile_et
2020+from bundled packages via the switch
2121+-bundled-libraries='!asn1_compile,!compile_et'. When this is done,
2222+the build script searches the path for those tools and sets the
2323+ASN1_COMPILE and COMPILE_ET vars accordingly. (this is admittedly
2424+kind of a round-about way of doing things but this has become the
2525+de-facto standard amongst embedded distro builders).
2626+2727+In commit 8061983d4882f3ba3f12da71443b035d7b672eec, this process of
2828+finding the binaris has been moved to be carried out only in the
2929+system heimdal case. As explained above, we only need these tools,
3030+and hence the check, in bundled mode.
3131+3232+BUG: https://bugzilla.samba.org/show_bug.cgi?id=14164
3333+3434+Signed-off-by: Uri Simchoni <uri@samba.org>
3535+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
3636+[Bernd: rebased for version 4.11.13]
3737+---
3838+ wscript_configure_embedded_heimdal | 11 +++++++++++
3939+ wscript_configure_system_heimdal | 11 -----------
4040+ 2 files changed, 11 insertions(+), 11 deletions(-)
4141+4242+diff --git a/wscript_configure_embedded_heimdal b/wscript_configure_embedded_heimdal
4343+index 8c55ae2a938..4fdae8062c5 100644
4444+--- a/wscript_configure_embedded_heimdal
4545++++ b/wscript_configure_embedded_heimdal
4646+@@ -1 +1,12 @@
4747+ conf.RECURSE('source4/heimdal_build')
4848++
4949++def check_system_heimdal_binary(name):
5050++ if conf.LIB_MAY_BE_BUNDLED(name):
5151++ return False
5252++ if not conf.find_program(name, var=name.upper()):
5353++ return False
5454++ conf.define('USING_SYSTEM_%s' % name.upper(), 1)
5555++ return True
5656++
5757++check_system_heimdal_binary("compile_et")
5858++check_system_heimdal_binary("asn1_compile")
5959+diff --git a/wscript_configure_system_heimdal b/wscript_configure_system_heimdal
6060+index 0ff6dad2f55..f77c177442f 100644
6161+--- a/wscript_configure_system_heimdal
6262++++ b/wscript_configure_system_heimdal
6363+@@ -37,14 +37,6 @@ def check_system_heimdal_lib(name, functions='', headers='', onlyif=None):
6464+ conf.define('USING_SYSTEM_%s' % name.upper(), 1)
6565+ return True
6666+6767+-def check_system_heimdal_binary(name):
6868+- if conf.LIB_MAY_BE_BUNDLED(name):
6969+- return False
7070+- if not conf.find_program(name, var=name.upper()):
7171+- return False
7272+- conf.define('USING_SYSTEM_%s' % name.upper(), 1)
7373+- return True
7474+-
7575+ check_system_heimdal_lib("com_err", "com_right_r com_err", "com_err.h")
7676+7777+ if check_system_heimdal_lib("roken", "rk_socket_set_reuseaddr", "roken.h"):
7878+@@ -96,7 +96,4 @@
7979+ #if conf.CHECK_BUNDLED_SYSTEM('tommath', checkfunctions='mp_init', headers='tommath.h'):
8080+ # conf.define('USING_SYSTEM_TOMMATH', 1)
8181+8282+-check_system_heimdal_binary("compile_et")
8383+-check_system_heimdal_binary("asn1_compile")
8484+-
8585+ conf.define('USING_SYSTEM_KRB5', 1)
8686+--
8787+2.20.1