Commit Graph

1058 Commits

Author SHA1 Message Date
Yusuf Bera Ertan
73e575078e
fix: specify subsystems in discoverers 2022-10-03 15:19:21 +03:00
Yusuf Bera Ertan
13fd0fa908
fix: use default discoverer properly 2022-10-03 15:18:27 +03:00
Yusuf Bera Ertan
fad33143f9
fix: use modules from makeFlakeOutputs, pass dream2nixConfig to modules specialArgs 2022-10-03 15:18:27 +03:00
Yusuf Bera Ertan
74128bba5d
fix: remove extra usage from _d2n-extended-new-subsystem 2022-10-03 15:18:27 +03:00
Yusuf Bera Ertan
6871e9e560
fix: fix extended examples 2022-10-03 15:18:27 +03:00
Yusuf Bera Ertan
f1c89df1d9
fix: turn discoverers attrset to list 2022-10-03 15:18:27 +03:00
Yusuf Bera Ertan
088fde510c
feat: make discoverers use modules 2022-10-03 15:18:27 +03:00
Brian Leung
c849f31434
Add simple Racket builder 2022-10-02 02:01:52 -07:00
Brian Leung
c17d995e8d
Add impure Racket translator 2022-10-01 23:33:23 -07:00
Brian Leung
a6502bd52e
Add Racket discoverer 2022-10-01 22:57:22 -07:00
DavHau
730d42598e
Merge pull request #315 from tinybeachthor/cleanup
Cleanup
2022-10-01 22:52:19 +02:00
Martin Toman
a7bab6d0a3 Use replaceRootSources in indexers (was callNixWithD2N) 2022-10-01 13:29:43 -07:00
Martin Toman
10b79208b9 Add replaceRootSources app 2022-10-01 13:29:43 -07:00
Martin Toman
d15d931bf9 {utils -> lib.strings}.sanitizeDerivationName 2022-10-01 13:28:56 -07:00
Martin Toman
6c82d99b79 fix: pure translator template, project is not list 2022-10-01 13:28:56 -07:00
Martin Toman
956fb6e8be defaultPackage -> packages.default 2022-10-01 13:28:56 -07:00
Martin Toman
49b299ce80 nodejs: discoverer read files from tree 2022-10-01 13:28:56 -07:00
Martin Toman
544c22bdbf Fix spelling 2022-10-01 13:28:56 -07:00
DavHau
ea3bb39310
Merge pull request #300 from tinybeachthor/php-indexer
php: indexer + fixes
2022-10-01 18:40:24 +02:00
DavHau
5e54aba141
Merge pull request #309 from nix-community/haskell
Haskell: add translator for hackage + other improvements
2022-09-28 17:54:17 +02:00
DavHau
7dadb4ad15 indexers: fix some bugs in python scripts 2022-09-28 16:52:56 +02:00
DavHau
ea171172d1 haskell: add cabal file hashes to dream-lock 2022-09-28 16:52:56 +02:00
DavHau
2f7f3c1289 haskell: add translator hackage 2022-09-28 16:52:56 +02:00
Martin Toman
ff264cb9c1 php: install dependencies with --no-dev 2022-09-27 14:38:59 -07:00
Martin Toman
50f7682dae php: add overrides 2022-09-27 12:57:22 -07:00
Martin Toman
6181050f32 php: split build into phases (easier to override) 2022-09-27 12:57:22 -07:00
Martin Toman
a7ca27492c php: do not pull git submodules
when composer is installing from source it ignores
git submodules, do the same
2022-09-27 12:57:22 -07:00
Martin Toman
5363f36f82 Allow disabling submodules for git fetcher 2022-09-27 12:57:22 -07:00
Martin Toman
039886bb7a php: disable patches
no network access in the pure builder,
patches will have to be handled as overrides probably
2022-09-27 12:57:22 -07:00
Martin Toman
c523f2c17e fix: php: set package name
package name and composer.json#name can be different
(mostly happens in private repositories)
set the composer.json#name to the package name
before including the package in other one
2022-09-27 12:57:22 -07:00
Martin Toman
c2c61b82b1 fix: php: invalid authors + overrides 2022-09-27 12:57:20 -07:00
Martin Toman
89c1de460a php: semver stabilities, wildcard, 4 part versions 2022-09-27 12:54:07 -07:00
Martin Toman
44a77955c1 fix: php: handle deps without composer.json
Without composer.json in the root of a package,
composer will ignore the dependency, this is issue if
for example npm dependencies are managed via composer.
(yiisoft/yii2 2.0.46)
2022-09-27 12:54:04 -07:00
Martin Toman
156d7e0f50 php: set rootName & rootVersion for path sources 2022-09-27 12:51:19 -07:00
Martin Toman
cac77826b8 fix: php: invalid authors + overrides 2022-09-27 12:51:19 -07:00
Martin Toman
2f499eb8eb fix: php: package names ensure lowercase 2022-09-27 12:51:19 -07:00
Martin Toman
f1888d4763 fix: php: pass composer-plugin-api to composer-plugins 2022-09-27 12:51:19 -07:00
Martin Toman
12791f09ef fix: php: composer-lock use dist path sources 2022-09-27 12:51:19 -07:00
Martin Toman
7738907d7b php: semver handle 4 digits (1.2.3.4) 2022-09-27 12:51:19 -07:00
Martin Toman
8c8cde2c9f php: composer-json override .config.lock=false 2022-09-27 12:51:19 -07:00
Martin Toman
4f8e284b37 php: builders passAsFile repositories,dependencies 2022-09-27 12:51:19 -07:00
Martin Toman
7a2ff69fb3 php: cleanup translators 2022-09-27 12:51:19 -07:00
Martin Toman
056ef41742 fix: php: add require default {} 2022-09-27 12:51:19 -07:00
Martin Toman
782a955210 php: semver stabilities, wildcard 2022-09-27 12:51:19 -07:00
Martin Toman
2a4dd11e44 fix: php: handle deps without composer.json
Without composer.json in the root of a package,
composer will ignore the dependency, this is issue if
for example npm dependencies are managed via composer.
(yiisoft/yii2 2.0.46)
2022-09-27 12:51:19 -07:00
Martin Toman
685efe73de php: composer-json ignore platform reqs & scripts 2022-09-27 12:51:19 -07:00
Martin Toman
f49af63180 fix: php: packagist translator set version
Set version in `composer.json` to the package version,
composer is conservative and will fail if there the
package version is not set and any dependency version
conflicts are declared.
2022-09-27 12:51:19 -07:00
Martin Toman
a9d1f074a2 fix: php: composer-lock path source 2022-09-27 12:51:19 -07:00
Martin Toman
26a0088b9d php: add packagist translator 2022-09-27 12:51:19 -07:00
Martin Toman
4b9538fca2 fix: libraries-io skip packages without versions 2022-09-27 12:51:19 -07:00