Conversation
e1635df to
cf37452
Compare
|
@ofborg build tango-controls |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
| pname = "tango-controls"; | ||
| version = "9.4.2"; | ||
|
|
||
| src = fetchurl { |
There was a problem hiding this comment.
Why don't you use fetchFromGitLab?
There was a problem hiding this comment.
Very good question! The thing about tango-controls is that it's assembled from a lot of components, all in different repositories: starter, cpptango, tango-database, ...
The TangoSourceDistribution repository contains an ant build script to clone all these repositories and build them. It also contains a package (the tarball that I download here) that has all these repositories with the proper versions (!) pre-cloned, so building is much easier.
Edit: you know what, I'll make this PR into a draft again and try to package these components individually.
|
I'll squash once the review is over. |
|
I have to give this up, since my day job doesn't involve tango anymore. |
Description of changes
This adds the Tango controls system that is being widely used by different particle accelerator facilities across the globe. We're using it here at DESY to control our motors, detectors etc., and we're using Nix as well, so it makes sense to put it into nixpkgs.
This derivation is sort of battle-tested by now, but it's hard to give an example. You could build the derivation and try to run one of the Java-based UIs for Tango, Jive:
result/bin/jive. This needs a working Tango server, however, and that's not trivial to set up because it needs a MariaDB database.I have systemd services for that as well, but I wanted to contribute just the core.
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)