add metadata to ARTIQ conda package
This commit is contained in:
parent
648a1d7f41
commit
0565ff9819
@ -7,6 +7,13 @@ let
|
||||
inherit version;
|
||||
src = import ./pkgs/artiq-src.nix { fetchgit = pkgs.fetchgit; };
|
||||
dependencies = import ./conda-artiq-deps.nix;
|
||||
extraYaml =
|
||||
''
|
||||
about:
|
||||
home: https://m-labs.hk/artiq
|
||||
license: LGPL
|
||||
summary: 'A leading-edge control system for quantum information experiments'
|
||||
'';
|
||||
};
|
||||
conda-artiq = import ./conda-build.nix { inherit pkgs; } {
|
||||
name = "conda-artiq";
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ pkgs }:
|
||||
{ name, version, src, dependencies ? []}:
|
||||
{ name, version, src, dependencies ? [], extraYaml ? ""}:
|
||||
pkgs.runCommand "conda-fake-source-${name}" { }
|
||||
''
|
||||
mkdir -p $out/fake-conda;
|
||||
@ -35,6 +35,8 @@ pkgs.runCommand "conda-fake-source-${name}" { }
|
||||
requirements:
|
||||
run:
|
||||
${pkgs.lib.concatStringsSep "\n" (map (s: " - ${s}") dependencies)}
|
||||
|
||||
${extraYaml}
|
||||
EOF
|
||||
|
||||
cat << EOF > $out/fake-conda/build.sh
|
||||
|
Loading…
Reference in New Issue
Block a user