zimbatm
73ee03cbc5
writers: split out the tests
...
Make it easier to run and debug individual tests.
2023-07-22 17:53:52 +02:00
pacien
6e4a14b54f
writers: add writeFish and writeFishBin
...
This adds writers for Fish shell scripts, with syntax checking.
2022-10-10 15:59:23 +02:00
Moises Nessim
81998d0a1d
Add writeFSharp and makeFSharpWriter functions to writers
...
Uses fsharp interactive (fsi) to run fsx script
Expose mkNugetSource and mkNugetDeps functions
Use them in writers.writeFSharp and buildDotnetModule
Add tests
2022-02-28 17:40:43 -05:00
Markus S. Wamser
b93e478777
writers.PyPy{2,3}: init
2021-12-15 10:01:08 +01:00
Markus S. Wamser
4e42f6bcb3
writers.writePython2: remove
2021-12-15 09:56:14 +01:00
Jörg Thalheim
982f46985e
writers: drop writeC
...
This function is fundamentally broken.
Not even the ncurses example will compile.
The interface needs to be rethought for it to work (i.e. don't
unconditionally include all pc files, set include path and ld path and
rpath).
Since it is unlikely that in the current this has any user, just drop it for now.
2021-08-25 20:16:31 +02:00
sternenseemann
6bd0c16f89
tests.writers: also expose path via passthru
2021-07-13 15:22:34 +02:00
sternenseemann
3bc8e5cd23
tests.writers: use dashes instead of underscores in drv names
...
This is more in line with standard derivation name policy in nixpkgs.
2021-06-08 14:06:41 +02:00
sternenseemann
f46a1e353a
tests.writers: give all test derivations unique names
...
This makes it easier to debug test failures since the derivation name
will give an indication which writer it belongs to.
2021-06-08 14:06:41 +02:00
Sandro Jäckel
03831816d8
writers: format
2021-03-05 18:14:34 +01:00
Ben Siraphob
98f26993f2
treewide: remove stdenv where not needed
2021-03-04 19:54:50 +07:00
Pavol Rusnak
90f7338112
treewide: stdenv.lib -> lib
2021-01-24 01:49:49 +01:00
Dominik Xaver Hörl
14205a6429
writers: add test for rust
2021-01-12 11:03:08 +01:00
Adrian Gierakowski
76437a88bb
writers.writePython2 and writePython3: use "bare" python if no deps are needed
...
`python.withPackages` has a runtime dependecy on bash since it's wrapped with
`makeWrapper`. This fix avoids bash as runtime dependency when it's not
needed.
as discussed here: https://github.com/NixOS/nixpkgs/issues/93609#issuecomment-662880047
2020-07-24 11:39:01 +01:00
lassulus
6d807882ad
writers test: use writeC with library for testing
2019-10-23 20:47:27 +02:00
lassulus
e7cccb74ee
writers test: fix python2 linter errors
2019-10-23 20:47:27 +02:00
volth
7b8fb5c06c
treewide: remove redundant quotes
2019-09-08 23:38:31 +00:00
lassulus
995defbb9b
build-support writers: content can be string or file
2018-12-04 16:40:32 +01:00
lassulus
2d02cd7790
build-support writers: add tests
2018-11-27 07:08:13 +01:00