frama-ci.nix 418 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
9
            "rev" = "01d423ae0e14b2d0d41e952d261aa859b2a3855e";
            "ref" = "master";
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; };
 }