Commit Graph

1251 Commits

Author SHA1 Message Date
DavHau
d608742406 fix: yarn-lock translator 2021-12-08 23:29:09 +07:00
DavHau
1358e1a303 always use internal overrides 2021-12-08 23:18:21 +07:00
DavHau
12c9f565aa nodejs: use package name set via CLI 2021-12-08 23:18:21 +07:00
DavHau
c441eabbb8 make nodejs configurable 2021-12-08 23:18:21 +07:00
DavHau
3fa75b5189
Merge pull request #63 from yusdacra/feat/rust-builder-override
fix(build-rust-package): use produceDerivation to apply overrides to the resulting package(s)
2021-12-03 13:06:45 +07:00
Yusuf Bera Ertan
0e236db189
fix(build-rust-package): use produceDerivation to apply overrides to the resulting package(s) 2021-12-03 07:40:55 +03:00
DavHau
20c8e4bb72
Merge pull request #62 from nix-community/multi-source
feature: support multiple packages per source
2021-12-02 14:28:30 +07:00
DavHau
fdd4918258
Merge pull request #61 from nix-community/dev
move overrides from dreampks -> dream2nix
2021-12-02 14:19:01 +07:00
DavHau
d3a279875e feature: support multiple packages per source 2021-12-02 14:15:40 +07:00
DavHau
4e51328d89 move overrides from dreampks -> dream2nix 2021-12-01 14:06:30 +07:00
DavHau
133b2d0093 fix shortcuts + pname, version handling 2021-11-30 12:36:49 +07:00
Yusuf Bera Ertan
0903f5ea43
feat: pass version and pname to fetchers (#60)
* feat: pass version and pname to fetchers, adjust schema for new behaviour

* fix: name -> pname

* refactor: move override warning to simpleTranslate, flatten dependencyInfo
2021-11-30 12:20:27 +07:00
DavHau
c5126b2053 feature: installMethod copy 2021-11-29 18:44:30 +07:00
Yusuf Bera Ertan
bfcd5b6f35
feat: cargo lock translator, rust builder (#59) 2021-11-29 18:34:53 +07:00
DavHau
fb42313192 bugfix add.py 2021-11-24 09:44:43 +07:00
DavHau
3136de37d8
Merge pull request #58 from nix-community/dev
test nix functions with pytest via nix_ffi.py
2021-11-24 09:33:13 +07:00
DavHau
b8dc44d0f2 feature: translate subdir of source via ?dir=foo 2021-11-24 08:50:05 +07:00
DavHau
9d2d385273 test nix funcs with pytest via nix_ffi.py 2021-11-20 11:34:04 +07:00
DavHau
d22d99ff96
Merge pull request #56 from nix-community/dev
Improve aggregated source fetching + fix some bugs
2021-11-18 12:20:24 +07:00
DavHau
5ad6855226 fix: aggregated fetching 2021-11-18 12:09:14 +07:00
DavHau
553d29724f bugfixes: fixes #54, fixes #55
- add package vie http URL
- create default.nix for debugging
- package-lock parse `npm:` reference
2021-11-18 11:33:24 +07:00
DavHau
4cf80a1460 add test for aggregated fetching: github source 2021-11-17 17:40:09 +07:00
DavHau
e99487cee9 rename sourcesCombinedHash -> sourcesAggregatedHash 2021-11-17 17:12:02 +07:00
DavHau
97e2fef121 fix & improve aggregated source fetching 2021-11-17 17:09:25 +07:00
DavHau
c5f6bd5a17
Merge pull request #53 from nix-community/dev
refactoring + CI Tests + go translator
2021-11-17 12:47:42 +07:00
DavHau
06289a42bc push to cachix 2021-11-17 12:38:07 +07:00
DavHau
a2f5f0bb67 disable hercules-ci
Runs outdated nix version which cannot fetch git submodules
2021-11-17 12:31:19 +07:00
DavHau
87157ecc8b fix NIX_PATH impurity in writePureShellScript 2021-11-17 12:18:22 +07:00
DavHau
a156f7e705 add github actions 2021-11-17 12:13:54 +07:00
DavHau
2f4ac1e6c2 add tests for gomod2nix 2021-11-17 11:45:04 +07:00
DavHau
e1e1979a4a
Merge pull request #26 from humancalico/go
add go translator using gomod2nix
2021-11-17 11:30:20 +07:00
DavHau
b4b7435ca3
Merge branch 'dev' into go 2021-11-17 11:28:22 +07:00
DavHau
3b5b9096e1 hercules ci + improvements
- yarn-lock: add nodejs version argument
 - add impure tests
 - add ci.nix for hercules
2021-11-17 11:23:31 +07:00
Akshat Agarwal
ff9e30b242 add go support using gomod2nix
Co-authored-by: DavHau <hsngrmpf+github@gmail.com>
2021-11-16 23:28:05 +05:30
DavHau
ec63d19cf5 add.py: refactor spaghetti into functions 2021-11-16 17:02:22 +07:00
DavHau
c15a2c64b4
Merge pull request #52 from nix-community/dev
fix: add packages via git URL + params; fetch submodules
2021-11-16 08:58:37 +07:00
DavHau
1c31d53605 fix: add packages via git URL + params; fetch submodules 2021-11-16 08:50:00 +07:00
DavHau
6ad2d9f2eb
Merge pull request #51 from nix-community/dev
Improve nodejs translators and API of builders
2021-11-16 08:45:49 +07:00
DavHau
079ec025dc nodejs builder: fix executing $buildScript 2021-11-15 18:10:22 +07:00
DavHau
f1e34e0e89 builder API; move override logic into produceDerivation
This should simplify writing builders
2021-11-13 17:41:48 +07:00
DavHau
163db67245 package-lock: handle resolved=false 2021-11-12 21:52:57 +07:00
DavHau
3ec6baf2c4 support parsing github:... URLs 2021-11-12 21:52:32 +07:00
DavHau
def2b8b499 package-lock translator: deal with more weirdnes 2021-11-12 14:34:48 +07:00
DavHau
e909fb1cb3
Merge pull request #50 from DavHau/dev
nodejs builder/translator and CLI improvements
2021-11-11 21:49:43 +07:00
DavHau
6d2a9fd95e nodejs buider: fix crash on empty string bin field 2021-11-11 19:08:25 +07:00
DavHau
48af5f0ec1 nodejs builder: just exclude cyclic deps 2021-11-10 14:05:51 +07:00
DavHau
6097051a5f automatically add new packages to git 2021-11-10 13:11:33 +07:00
DavHau
9302d24fc3 add name argument to package-lock translator 2021-11-10 13:11:21 +07:00
DavHau
6a73fa5de5
Merge pull request #48 from DavHau/dev
improve dev docs for translators and builder
2021-11-08 12:01:14 +07:00
DavHau
baa442739f add template and docs for contributing builder 2021-11-08 11:47:15 +07:00