3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

50 commits

Author SHA1 Message Date
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
Peter Hoeg ebefef6f6d nim: wrap gcc 2016-12-30 15:27:28 +08:00
Maciek Starzyk f2b3e3db2c nim: 0.15.0 -> 0.15.2 2016-10-24 21:08:54 +02:00
Maciek Starzyk eda85e161f nim: 0.14.2 -> 0.15.0 2016-10-03 21:44:40 +02:00
Maciek Starzyk ab09c37f99 nim: 0.13.0 -> 0.14.2 2016-06-11 14:53:07 +02:00
Vladimír Čunát ae74c356d9 Merge recent 'staging' into closure-size
Let's get rid of those merge conflicts.
2016-02-03 16:57:19 +01:00
Kamil Chmielewski c46625f98e nim: 0.11.2 -> 0.13.0 2016-01-20 17:48:45 +01: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
Svend Sorensen d4994d85e4 nim: Add darwin platform 2015-11-16 14:50:40 -08:00
Christine Dodrill 01b455dd66 nim: 0.11 -> 0.11.2 2015-08-13 07:25:16 -07:00
Emery Hemingway 3984468692 nim: 0.10.2 -> 0.11.0 2015-05-04 08:58:26 -04:00
Emery Hemingway e65e8983d9 nim: initial package at 0.10.2 2015-02-10 09:48:41 -05:00