read checkinator git version from JSON file
parent
9774295537
commit
65c574a6b5
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"url": "http://code.hackerspace.pl/checkinator",
|
||||
"rev": "a27d3d8dfeb296a77ab49359f1279f44c11610a2",
|
||||
"sha256": "1w02plyh07zdh855210b6wb29r03h3fc73ivqshp5w69m4j6j0bi"
|
||||
}
|
|
@ -6,11 +6,8 @@ let
|
|||
url = https://api.github.com/repos/NixOS/nixpkgs/tarball/0bf298df24f721a7f85c580339fb7eeff64b927c;
|
||||
}) { config = pkgs.config; };
|
||||
|
||||
repo = pkgs.fetchgit {
|
||||
url = "http://code.hackerspace.pl/checkinator";
|
||||
rev = "a27d3d8dfeb296a77ab49359f1279f44c11610a2";
|
||||
sha256 = "1w02plyh07zdh855210b6wb29r03h3fc73ivqshp5w69m4j6j0bi";
|
||||
};
|
||||
repo = pkgs.fetchgit (builtins.fromJSON
|
||||
(builtins.readFile ./checkinator-repo.json));
|
||||
checkinator = old-pkgs.callPackage "${repo}/default.nix" {};
|
||||
|
||||
name = "checkinator-tracker";
|
||||
|
|
|
@ -6,11 +6,8 @@ let
|
|||
url = https://api.github.com/repos/NixOS/nixpkgs/tarball/0bf298df24f721a7f85c580339fb7eeff64b927c;
|
||||
}) { config = pkgs.config; };
|
||||
|
||||
repo = pkgs.fetchgit {
|
||||
url = "http://code.hackerspace.pl/checkinator";
|
||||
rev = "a27d3d8dfeb296a77ab49359f1279f44c11610a2";
|
||||
sha256 = "1w02plyh07zdh855210b6wb29r03h3fc73ivqshp5w69m4j6j0bi";
|
||||
};
|
||||
repo = pkgs.fetchgit (builtins.fromJSON
|
||||
(builtins.readFile ./checkinator-repo.json));
|
||||
checkinator = old-pkgs.callPackage "${repo}/default.nix" {};
|
||||
|
||||
name = "checkinator-web";
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
{ pkgs ? import <nixpkgs> {} }:
|
||||
|
||||
pkgs.nixos {
|
||||
imports = [
|
||||
./configuration.nix
|
||||
];
|
||||
}
|
Loading…
Reference in New Issue