Commit Graph

63 Commits

Author SHA1 Message Date
mat ess
4fc665856d nim: 1.6.4 -> 1.6.6 2022-05-09 13:34:07 -05:00
Malo Bourgon
d8da6a153b nimble-unwrapped: add meta 2022-05-05 17:27:29 -07:00
Felix Buehler
7c71e8438c nim: switch to fetchFromGitHub 2022-03-16 00:45:56 +01:00
Stephen Hassard
67574bd994 nim: 1.6.2 -> 1.6.4 2022-02-22 09:14:28 -06:00
Frederik Rietdijk
c8aed5f960 nim: 1.6.0 -> 1.6.2 2021-12-18 15:06:19 +00:00
Emery Hemingway
30be6c22c5 nim: 1.4.8 -> 1.6.0 2021-10-19 13:07:57 +02:00
Emery Hemingway
3cfbadec99 nim: patch compiler to emit native file/line info format 2021-10-19 12:50:30 +02:00
Andreas Rammhold
6d0a4f9b8f nim: use newer bootstrap repository for aarch64-darwin support
The old "csources" repo has been archived a while ago and a newer
csources_v1 repo has been published. The main advantage is that we now
have support for newer platorms (such as Apple M1's) and newer nim
versions in the bootstrap.

The new repository doesn't contain release tags thus I pinned it to the
latest revision that has been published.
2021-10-18 16:19:48 +02:00
Guillaume Girol
4bc83aaffa
Merge pull request #136489 from ehmry/nimPackages
nimpackages / buildNimPackage
2021-09-22 18:35:38 +00:00
Ryan Burns
b8779dbffe nim: fix power arch predicates
isPowerPC is only true on 32 bit machines;
to check the family we should use isPower here

Otherwise, e.g. `pkgsCross.powernv.buildPackages.nim` fails to eval with
`error: evaluation aborted with the following error message: 'no Nim CPU support known for powerpc64le-unknown-linux-gnu'`
2021-09-22 10:30:09 +02:00
Emery Hemingway
45398d7b54 Initial nimPackages utilities
Add a nimPackages attrset with "buildNimPackage" and "fetchNimble".
2021-09-05 11:20:00 +02:00
Emery Hemingway
84a4536e58 nim: 1.4.6 -> 1.4.8
https://nim-lang.org/blog/2021/05/25/version-148-released.html

Set a default $CC and $CXX in the Nim wrapper script, this makes
the wrapper usuable outside of build environments.
2021-06-15 10:55:34 +02:00
Emery Hemingway
c576998594 nim: 1.4.4 -> 1.4.6 2021-05-02 10:52:26 +02:00
Emery Hemingway
56592ea293 nim: cross-compilation fixes
* Import with callPackages
* Use buildPackages for building a cross-compiler
* Patch-out potential conflicts in nim.cfg
* Generate a configuration with toolchain detection
* Build with strictDeps enabled
2021-03-26 11:36:38 +01:00
Mario Rodas
6ca5b8005f nim: 1.4.2 -> 1.4.4 2021-02-27 11:27:24 +01:00
Kamil Chmielewski
bc9c9cd6da nim: expose testament test runner
https://nim-lang.org/docs/testament.html
2020-12-10 14:49:01 +01:00
Kamil Chmielewski
ba70e46edd nim: 1.4.0 -> 1.4.2 2020-12-08 00:45:34 +01:00
Emery Hemingway
bb7b1b59c8 nim: include nimble utility with wrapped compiler 2020-11-26 20:06:20 +01:00
Emery Hemingway
138a90ebc3 nim: 1.2.6 -> 1.4.0
Build Nim with a second fixed-input hash for 1.4.0.
The Nimble utility is no longer bundled with nim-unwrapped.
2020-11-26 20:06:20 +01:00
Emery Hemingway
bce139db2b Revert "nim: 1.2.6 -> 1.4.0"
Source tarball has changed.

This reverts commit bb99a0d9a8.
2020-10-17 14:58:58 +02:00
Emery Hemingway
bb99a0d9a8 nim: 1.2.6 -> 1.4.0 2020-10-16 16:07:50 +02:00
Emery Hemingway
5885021135 nim: remove stdlib indirection in wrapper
Fix #97601
2020-09-11 14:21:32 +02:00
Emery Hemingway
dc09e3edfc nim: wrap compiler for cross-compilation support 2020-09-07 16:16:55 +02:00
Emery Hemingway
06ac3c1d2a nim: patch to fix dynamic library loading 2020-09-07 16:16:55 +02:00
R. RyanTM
febbcb62ce nim: 1.2.4 -> 1.2.6 2020-08-07 12:37:05 +02:00
Emery Hemingway
00c6fa607c nim: 1.2.0 -> 1.2.4 2020-07-01 13:37:47 +05:30
Daiderd Jordan
7b3a2963d1
treewide: replace base64 encoded hashes 2020-06-03 18:35:19 +02:00
zimbatm
3420bd63b9 nim: 1.0.6 -> 1.2.0 2020-04-04 01:15:27 +05:30
Emery Hemingway
b4fd657c25 nim: 1.0.4 -> 1.0.6 2020-01-30 10:05:35 +01:00
Robin Gloster
313da176d3
treewide: NIX_*_FLAGS -> string 2019-12-31 00:16:46 +01:00
Emery Hemingway
e54d68e6d0 nim: 1.0.2 -> 1.0.4 2019-11-30 15:26:11 +01:00
Emery Hemingway
523b9f792f nim: disable Nim compiler check
Too many tests need to be disabled and too many additional inputs
are required.
2019-11-02 15:12:40 +01:00
R. RyanTM
e37aa87642 nim: 1.0.0 -> 1.0.2 2019-11-02 15:12:40 +01:00
Albert Safin
8fcbbc94ef nim: 0.20.2 -> 1.0.0 2019-09-25 15:01:44 +00:00
Milan Pässler
583a82cb2f nim: 0.20.0 -> 0.20.2 2019-07-26 14:51:43 +02:00
royneary
b0b64b3927
nim: 0.19.4 -> 0.20.0
- link sqlite (needed for the the stdlib sqlite module)
- update nodejs to 11.x
- use default phase order (fixes linker errors during test phase)
- substitution in ./test/async/tioselectors.nim not needed anymore
- two more tests need to be disabled
- LD=$CC workaround not needed anymore
- disable unsupported tests on aarch64
- trigger pre and post hooks
- use checkInputs instead of nativeBuildInputs
- don't override patchPhase
2019-06-22 22:42:17 +02:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
R. RyanTM
98f461cfa8 nim: 0.19.0 -> 0.19.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/nim/versions
2019-02-04 16:02:06 -08:00
royneary
9dcdf5a545 nim: update nodejs-slim 2018-10-31 10:38:16 +01:00
royneary
b786a47e9e nim: move build time dependencies into nativeBuildInputs 2018-10-31 10:37:38 +01:00
royneary
651c1784a9 nim: disable test supposedly broken on Aarch64 2018-10-27 20:39:02 +02:00
royneary
89d71c5279 nim: don't hardcode gcc 2018-10-27 16:58:44 +02:00
royneary
9bf79add13 nim: 0.18.0 -> 0.19.0
- remove sqlite as dependency (I don't see why it's needed)
- run checkPhase after installPhase (at least one test assumes the
standard library in ../lib relative to the nim binary)
- the broken tests pass now or don't exist anymore
- two of the tests requiring network access pass now without network access
- the tests in manyloc do not download dependencies and are passing now
2018-10-27 14:30:21 +02:00
Matthew Justin Bauer
469cca0ac7
nim: disable checks on darwin
These time out for some reason:

https://hydra.nixos.org/job/nixpkgs/trunk/nim.x86_64-darwin
2018-06-23 17:25:09 -04:00
Euan T
95b1827682 nim: 0.17.2 -> 0.18.0 (#40556)
* Nim 0.17.2 -> 0.18.0

* Add missing dependencies for Nim 0.18.0

Solved GC and SFML-related test failures.
Attempting to download nimble packages.

* Fix tzdata test

* Fix tworkingdir test

* Replace outdated nodejs

* Disable non-runnable tests
2018-05-20 14:33:22 +01:00
Samuel Dionne-Riel
7b97c8c0c8 treewide: homepage+src updates (found by repology, #33263) 2018-01-05 20:42:46 +01:00
obadz
4810ee4292 nim: 0.17.0 -> 0.17.2 2017-10-01 02:40:19 +01:00
Jon Banafato
aad2a2132c nim: 0.16.0 -> 0.17.0 2017-07-23 07:21:53 -05:00
Peter Hoeg
4e0a5e7602 nim: include all supporting tools
This PR makes a few changes to how things are done:

a) build and install "koch" - the nim make-type tool
b) use "koch" to bootstrap nim
c) build additional supporting tools such as nimble, nimgrep and nimsuggest
d) nim can use other c compilers than gcc, so instead of forcing gcc we use the one from stdenv
e) run the full test suite

We do not need the "nimble" package any longer as it is part of nim.
2017-01-12 20:11:36 +08:00
Michael Raskin
5b4906ab49 nim: 0.15.2 -> 0.16.0 2017-01-09 13:06:14 +01:00