PetarKirov / dlang.nix

Nix expressions for building D compilers
MIT License
6 stars 2 forks source link

Add Package Builder for dlang projects #64

Closed monyarm closed 5 months ago

monyarm commented 6 months ago

The goal of this PR is to create a package builder similiar to buildNpmPackage, buildRustPackage, buildGoPackage and others.

A loose summary of necessary subtasks would be:

dukc commented 6 months ago

Thanks!

First, a question: Did you talk with @PetarKirov before strating doing this or is this your solo initiative? I'm quessing the former since this plan looks much more refined from what I'd expect from anyone just stumbling here.

What you're listing is certainly welcome development, and also something we've been kinda wanting to do. It's also a big effort though, so I ask to support it piece by piece, not all in one go.

Your effort is not totally unexplored territory. There is Dub2Nix tool that serves roughly the same purpose, so my advice is looking at it and preferably using it as a base if practical. It's MIT licensed just like this repo so it's compatible.

monyarm commented 6 months ago

Thanks!

First, a question: Did you talk with @PetarKirov before strating doing this or is this your solo initiative? I'm quessing the former since this plan looks much more refined from what I'd expect from anyone just stumbling here.

What you're listing is certainly welcome development, and also something we've been kinda wanting to do. It's also a big effort though, so I ask to support it piece by piece, not all in one go.

Your effort is not totally unexplored territory. There is Dub2Nix tool that serves roughly the same purpose, so my advice is looking at it and preferably using it as a base if practical. It's MIT licensed just like this repo so it's compatible.

He asked me to implement a builder function for dub, and ya, I'll probably borrow some parts of dub2nix. I'll be working on it bit by bit outside of work. So it'll probably be at least a week or two before it's finished. But I will ask him when I see him at work for suggestions, and things he thinks should be prioritized.

dukc commented 5 months ago

Impressive progress so far!

monyarm commented 5 months ago

See #66