Commit Graph

56 Commits

Author SHA1 Message Date
Artturin
6b2a05e190 treewide: manual fixups for
treewide: use toString on list NIX_CFLAGS_COMPILE
treewide: move NIX_CFLAGS_COMPILE to the env attrset
2023-02-22 21:23:04 +02:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Artturin
6f6cc4a22d treewide: use toString on list NIX_CFLAGS_COMPILE
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper
2023-02-22 21:23:04 +02:00
Devan Carpenter
4ad56caded cjdns: fix package and update
this was not building, though it wasn't marked as such. upstream now
requires Rust. python310 causes things to complain and fail, so we are
specifiying python39. nodejs, python and now rust to compile a mostly
C99 project. kids these days...
2022-11-06 08:25:58 -06:00
Martin Weinelt
c705239a5d
cjdns: don't set -Wno-error=stringop-overread with gcc<11
The build would error out on aarch64-linux with

> cc1: error: '-Werror=stringop-overread': no option -Wstringop-overread
2022-04-17 02:57:07 +02:00
Fabián Heredia Montiel
9028cd4eff cjdns: add extra -Wno-error for gcc11 2022-04-16 10:59:39 -05:00
piegames
046cbd9617 cjdns: python2 -> python3
The `contrib` folder was removed from the packaging. It contains a lot of files
that are irrelevant to the actual package (i.e. Fedora spec files, selinux hardening
or systemd services). There are a few scripts in there too but in any case they are
misplaced and would be better off in a separate package (as e.g. the Fedora packaging
does)
2021-12-13 10:13:27 +00:00
Ben Siraphob
8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
freezeboy
ad13f0e569 cjdns: 21 -> 21.1 2020-12-28 12:17:39 +01:00
Graham Christensen
bc49a0815a
utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
R. RyanTM
6de2304582 cjdns: 20.7 -> 21 2020-10-22 14:18:41 +02:00
Emery Hemingway
7b95c27815 cjdns: 20.6 -> 20.7 2020-06-25 11:20:35 +05:30
Emery Hemingway
a2e3fc32b3 cjdns: declare tests from nixosTests 2020-04-22 11:45:04 +05:30
R. RyanTM
342eaba9eb cjdns: 20.5 -> 20.6 2020-04-16 12:29:02 +05:30
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
R. RyanTM
e838bebc78 cjdns: 20.4 -> 20.5 2020-01-27 13:26:20 +01:00
Franz Pletz
f8d610c1d9
cjdns: fix build with gcc9 2019-11-03 14:26:32 +01:00
R. RyanTM
2b008d9d5a cjdns: 20.3 -> 20.4
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/cjdns/versions
2019-09-26 03:35:50 -07:00
Alexander Krupenkin
eb7bd3206c
cjdns: 20.2 -> 20.3 2019-05-24 11:01:31 +03:00
Alexander Krupenkin
6846c45eed
cjdns: 20.1 -> 20.2 2018-05-02 17:29:18 +03:00
John Ericson
ba52ae5048 treewide: isArm -> isAarch32
Following legacy packing conventions, `isArm` was defined just for
32-bit ARM instruction set. This is confusing to non packagers though,
because Aarch64 is an ARM instruction set.

The official ARM overview for ARMv8[1] is surprisingly not confusing,
given the overall state of affairs for ARM naming conventions, and
offers us a solution. It divides the nomenclature into three levels:

```
ISA:             ARMv8   {-A, -R, -M}
                 /    \
Mode:     Aarch32     Aarch64
             |         /   \
Encoding:   A64      A32   T32
```

At the top is the overall v8 instruction set archicture. Second are the
two modes, defined by bitwidth but differing in other semantics too, and
buttom are the encodings, (hopefully?) isomorphic if they encode the
same mode.

The 32 bit encodings are mostly backwards compatible with previous
non-Thumb and Thumb encodings, and if so we can pun the mode names to
instead mean "sets of compatable or isomorphic encodings", and then
voilà we have nice names for 32-bit and 64-bit arm instruction sets
which do not use the word ARM so as to not confused either laymen or
experienced ARM packages.

[1]: https://developer.arm.com/products/architecture/a-profile
2018-04-25 15:28:55 -04:00
Alexander Krupenkin
4886194589
cjdns: 20 -> 20.1 2018-02-20 23:19:06 +03:00
Ricardo M. Correia
7bd64e3dee cjdns: fix hash
.. and switch to fetchFromGitHub to avoid future hash changes.
2017-10-30 19:05:18 +01:00
Tuomas Tynkkynen
4acb425c39 darwin: Disable yet another bunch of packages never having built successfully
cjdns: https://hydra.nixos.org/build/61134279
jonprl: https://hydra.nixos.org/build/61123711
mate.libmatemixer: https://hydra.nixos.org/build/61126968
dirac: https://hydra.nixos.org/build/61132432
idnkit: https://hydra.nixos.org/build/61123544
trousers: https://hydra.nixos.org/build/61109766
packetdrill: https://hydra.nixos.org/build/61116190
osm2pgsql: https://hydra.nixos.org/build/61118017
nawk: https://hydra.nixos.org/build/61139000
2017-09-22 21:16:39 +03:00
Tomas Hlavaty
4ecba3751d cjdns: 19.1 -> 20 2017-06-29 23:45:53 +02:00
Adam Ruzicka
21efba54ca cjdns: 18 -> 19.1 2017-04-14 22:09:20 +02:00
Vladimír Čunát
3d04d470cd
cjdns: fix build with glibc-2.25 via upstream patch 2017-02-21 13:30:50 +01:00
Sophie Taylor
c5cac5051a cjdns v17.3 -> v18 2016-11-04 11:52:28 +01:00
Vladimír Čunát
30f14243c3 Merge branch 'master' into closure-size
Comparison to master evaluations on Hydra:
  - 1255515 for nixos
  - 1255502 for nixpkgs
2016-04-10 11:17:52 +02:00
Emery Hemingway
36b5fd8d4d cjdns: 16 -> 17.3 2016-04-08 15:55:13 +02:00
Luca Bruno
5b0352a6a4 Merge branch 'master' into closure-size 2015-12-11 18:31:00 +01:00
Emery Hemingway
2b6dcdfcd0 Rename 'emery' maintainer handle to 'ehmry', fixes #11493
Communication happens on Github so names should be consistent.
2015-12-05 23:06:20 +01:00
Vladimír Čunát
e2f5ba1937 treewide: fix invocations of installBin command
I've removed the trivial command in 4e72b61de.
I think `install -Dt "$out/bin"` is a better replacement anyway,
as it can be easily used to other directories than $out/bin.

/cc @ehmry who seems to maintain many packages with this usage.
(BTW, it would be better to have maintainer attribute same as github
username, as it makes pinging maintainers much easier.)
2015-12-05 13:59:05 +01:00
Lluís Batlle i Rossell
282354a6cf Updating cjdns to latest master.
It has important stability fixes.
2015-05-09 20:22:58 +00:00
Lluís Batlle i Rossell
5a21c015c7 Updating cjdns to 20150422. 2015-04-22 17:11:10 +02:00
Emery Hemingway
7e66337f6c cjdns: update to version 16 - 20150308 2015-03-21 10:16:16 -04:00
Peter Simons
7b99c149a4 Merge branch 'master' into staging. 2015-02-09 16:51:10 +01:00
Lluís Batlle i Rossell
d54611bde7 Updating cjdns to 20150207.
Version without memory leaks.

(cherry picked from commit 0e860da001e960e1b7cd4ca3ab9940a8dacd98de)
2015-02-08 19:33:13 +01:00
Lluís Batlle i Rossell
4c0ba3f01c cjdns: Setting no SECCOMP for ARM. It fails to build. 2015-02-05 23:02:55 +01:00
Lluís Batlle i Rossell
adf6ef3865 cjdns: updating with bugfix, and readd nodejs tools
(cherry picked from commit cd80d050cb8145d45c56533625beb82f37177fae)
2015-01-30 09:26:53 +01:00
Lluís Batlle i Rossell
8ea408be56 Update cjdns to v15
(cherry picked from commit aeefbe552adda2b3191bbd48cd7cf79ad9425d94)
2015-01-29 19:50:19 +01:00
Lluís Batlle i Rossell
8dd230aa09 Updating cjdns to protocol version 14 2015-01-23 09:35:13 +01:00
Emery Hemingway
5b8e1be7ba cjdns: bump to protocol version 13 2015-01-06 13:23:24 -05:00
Emery Hemingway
9f1bd2d419 cjdns: update 20141023 -> 20141121
include protocol version in package version string
2014-11-21 18:04:53 -05:00
Emery Hemingway
67a2a58314 cjdns: service tweaks, new NixOS test 2014-11-08 23:39:02 +01:00
Lluís Batlle i Rossell
f3d978be65 cjdns: installing contrib scripts
I made the nodejs and python scripts have the proper shebang. A lot more
of them could be updated to reference store paths (calls to "python",
etc.)

(cherry picked from commit 2fb382afb6319065f20af22d86774df190beb0d5)
2014-10-25 15:52:54 +02:00
Emery Hemingway
957602c40c cjdns: update 20140928 to 20141023 2014-10-24 17:15:13 -04:00
Emery Hemingway
70e0577886 update cjdns from 20140922 to 20140928 2014-10-21 13:08:54 -04:00
Emery Hemingway
61f0d9b251 cjdns: update from 20140919 20140922
package installs to .../bin
fix service module to look in .../bin

Closes #4240
2014-09-23 22:30:53 +01:00