frama-ci.nix 428 Bytes
Newer Older
François Bobot's avatar
François Bobot committed
1
2
3
4
5
6
7
#To copy in other repository
{ pkgs ? import <nixpkgs> {}, password}:

let
    src = builtins.fetchGit {
            "url" = "https://bobot:${password}@git.frama-c.com/frama-c/Frama-CI.git";
            "name" = "Frama-CI";
Loïc Correnson's avatar
Loïc Correnson committed
8
            "rev" = "ecd0aa7dc29f0d715b379af6894099091da27212";
Loïc Correnson's avatar
Loïc Correnson committed
9
            "ref" = "update-opam-repo";
François Bobot's avatar
François Bobot committed
10
11
12
13
14
15
    };
 in
 {
  src = src;
  compiled = pkgs.callPackage "${src}/compile.nix" { inherit pkgs; };
 }