Commit graph

44 commits

Author SHA1 Message Date
ajs124
373fcc8b90 stdenv.lib -> lib 2021-02-18 03:10:23 +01:00
Sander van der Burg
972f66ab44 Stop using the deprecated URL constructs in the Nix expression language 2021-02-16 22:50:20 +01:00
Sander van der Burg
57cecaf5d9 Add release job 2020-04-01 19:55:02 +02:00
Sander van der Burg
ce82d551fc Fix build product path 2020-03-31 23:54:02 +02:00
Sander van der Burg
2a62b62120 Fix dev build job 2020-03-31 23:16:47 +02:00
Sander van der Burg
c26debdb99 Add some basic testcases 2020-03-31 23:08:24 +02:00
Sander van der Burg
065f519ee8 Update dependencies and bootstrap again 2020-03-31 21:59:31 +02:00
Sander van der Burg
4fe6f66ecb Use composer directly from Nixpkgs for end user package installations 2020-03-31 21:22:17 +02:00
Sander van der Burg
5ffce63100 Add build instructions, fix some formatting inconsistencies 2020-03-16 22:41:17 +01:00
Sander van der Burg
5d86498b1b
Merge pull request #9 from mayflower/nixpkgs-composer
Use composer from nixpkgs
2020-03-14 23:52:36 +01:00
Sander van der Burg
5d58b3674d
Merge pull request #6 from nocoolnametom/nocoolnametom-patch-autoloader
Change autoloader requirement for bin file
2020-03-14 23:43:29 +01:00
Robin Gloster
df84c8e4f6
Run of composer update
`composer update` was run with composer2nix als run on itself.
2019-09-30 22:48:42 +02:00
Robin Gloster
a9911c1933
Use composer from nixpkgs
The composer pinned here, was outdated and broken with PHP 7.3, the
default in NixOS 19.09
2019-09-30 22:48:41 +02:00
Tom Doggett
1bd0468812
Change autoloader requirement for bin file
Now the autoloader can be found within the repo itself, within a project dependency, or within a globally required copy.

To be honest, the code is just copied from a number of similar bin-providing composer projects.
2018-10-26 10:14:32 +01:00
Sander van der Burg
2fb157acaf Fix override example 2018-06-29 22:58:30 +02:00
Sander van der Burg
cce1630d5b Make all composer-env functions entirely overridable, not mkDerivation 2018-06-25 23:00:08 +02:00
Sander van der Burg
f0aa6db6b6 Clean up function interface 2018-06-24 22:27:59 +02:00
Sander van der Burg
8453940d79 Display a warning if the vendor/ folder exists in the project directory 2018-06-12 21:15:08 +02:00
Sander van der Burg
cb7298a9d3 Fix problem with non-existent composer-env on first generation 2018-05-13 21:43:03 +02:00
Sander van der Burg
803c6aa078 Add installation section 2018-05-10 16:49:10 +02:00
Sander van der Burg
c205febd60 Correctly compose relative paths to the composition expression 2018-05-10 16:40:39 +02:00
Sander van der Burg
0615fec7f3 Bump composer version to 1.6.5 2018-05-10 15:19:11 +02:00
Sander van der Burg
2f130084b5 Only create bin folder when it does not exists + some API documentation fixes 2017-10-25 20:51:35 +02:00
Sander van der Burg
db4c6eefdf Divide the package expression into sub classes. Separate fetching from the expression generation. 2017-10-24 23:24:59 +02:00
Sander van der Burg
aa74ee8cb5 - Use NixASTNode from PNDP
- Name dependencies sources
- Separate fetching the metadata from the AST generation
2017-10-23 23:47:45 +02:00
Sander van der Burg
19ec217ead - Add Hydra release expression
- Document proper way to configure PHP in NixOS
2017-10-09 22:23:18 +02:00
Sander van der Burg
dbcfc9b931 - Fix generation bugs in the other dependency types
- Bootstrap composer2nix
2017-10-02 22:32:24 +02:00
Sander van der Burg
6638286486 - Document remove composer artifacts option
- Patch the shebangs of all executables in vendor/bin
- Compose empty composer.lock file if none is prevent to prevent composer from consulting the registry
2017-09-26 21:51:25 +02:00
Sander van der Burg
a457596b5f - Modify bootstrap script to reuse composerEnv from package
- Prefix package names with composer-
2017-09-24 22:46:14 +02:00
Sander van der Burg
1dc4359009 Add some API documentation 2017-09-24 22:20:02 +02:00
Sander van der Burg
adf0a9c460 Make the code structure more modular 2017-09-22 22:24:57 +02:00
Sander van der Burg
4c20068b41 Add option that makes it possible to skip the deployment of development dependencies even if they are included in composer.lock 2017-09-21 22:19:53 +02:00
Sander van der Burg
67805db37f - Add homepage and license attributes to metadata of the package
- Patch the shebangs of the executables
2017-09-20 23:23:32 +02:00
Sander van der Burg
914f54f33d Fix lock file + documentation tweaks 2017-09-19 23:50:21 +02:00
Sander van der Burg
930f8062c8 - Extended installed.json generation to include development packages
- Make build function overridable
- Document some overriding use-cases
2017-09-19 20:19:55 +02:00
Sander van der Burg
f9829e8b9e - Add option to deploy third party package CLI tools
- Fix bug in generation of tarball downloads
- Added some documentation
2017-09-18 22:47:28 +02:00
Sander van der Burg
da4e2d914a Use PNDP for generating Nix expressions 2017-09-12 00:06:27 +02:00
Sander van der Burg
b12373a127 - Add note on deploying a CLI project
- Fix error when a project without dependencies (and lock file) is deployed
2017-08-17 22:03:30 +02:00
Sander van der Burg
def3501b91 Change generated expression and builder to cope with the target-dir property 2017-08-12 13:56:03 +00:00
Sander van der Burg
f7c27f896f Fix prefer-dist installs for packages that only have a source + wipe existing vendor folder in the Nix package 2017-08-11 21:31:08 +00:00
Sander van der Burg
1ffe00522d - Preliminary support for svn repositories
- Support zip artifacts that are stored on the local filesystem
- Add option to package executables/CLI tools
2017-07-13 21:18:58 +02:00
Sander van der Burg
9231062ceb Add conversion routine for the path type 2017-07-12 21:45:13 +02:00
Sander van der Burg
c46bf0a777 - Split generator function
- Add hg dependency support
- Add example case
2017-07-11 20:24:44 +02:00
Sander van der Burg
e66636acb9 Initial commit 2017-07-07 22:51:59 +02:00