Thus quoth zimbatm at 11:32 on Mi, Sep 07 2016:
>
> And I think there are some for Perl/CPAN, Ocaml/??? and .NET/Nuget too.
OCaml's package manager is OPAM [0].
> It would be nice if we could come up with a universal XXX2nix that has a
> unified interface, but then it's probably a lot of work
I don't think there is an official list. Here is the ones I know of:
Go/GOPATH: go2nix
Ruby/Rubygems: bundix
Java/Maven: mvn2nix-maven-plugin
Node/npm: npm2nix (multiple implementations)
Haskell/Cabal: cabal2nix
And I think there are some for Perl/CPAN, Ocaml/??? and .NET/Nuget too. The
manual is
Is there a list of projects that go from other package managers to nix?
On 06/09/2016 11:57 AM, "Rok Garbas" wrote:
> to generate nix expressions from pip's requirements.txt file i created
> pypi2nix[1] which should get you very close.
>
> [1] https://github.com/garbas/pypi2nix
>
> On Mon, Sep 5,
Hi Dmitry,
> On 05 Sep 2016, at 19:22, Dmitry Malikov wrote:
> What I'm looking for is a single default.nix file built basing on
> dependencies listed in 'requirements.txt' and 'package.json' files, allowing
> to do these steps via 'nix-shell' command.
Not quite sure if I understood your case
to generate nix expressions from pip's requirements.txt file i created
pypi2nix[1] which should get you very close.
[1] https://github.com/garbas/pypi2nix
On Mon, Sep 5, 2016 at 11:25 PM, Sander van der Burg
wrote:
> A bit difficult to give a very concrete answer, since there are many ways to
>
A bit difficult to give a very concrete answer, since there are many ways
to create hybrid packages.
Anyway, a possible strategy is to create a derivation/package that runs pip
and keeps the resulting output source tree. Then use node2nix to generate
Nix expressions from package.json file that is
Hey guys,
There is a project with node.js and python dependencies which is need to be
run inside an isolated environment.
Right now the whole flow consists of 3 steps:
- pip install -r requirements.txt --upgrade
- npm install
- npm run build
What I'm looking for is a single default.nix