stockholm/krebs/5pkgs/simple/noVNC/default.nix

22 lines
425 B
Nix
Raw Normal View History

2016-02-13 13:25:44 +00:00
{ fetchgit, lib, stdenv, ... }:
with builtins;
with lib;
stdenv.mkDerivation rec {
name = "${baseNameOf src.name}-${removePrefix "refs/tags/v" src.rev}";
src = fetchgit {
url = https://github.com/kanaka/noVNC;
rev = "refs/tags/v0.5.1";
2016-10-06 17:16:42 +00:00
sha256 = "1vckvvfcawgfqmx415r5rnl6k2alx53jbqmsj49kxpbdvvxpb49d";
2016-02-13 13:25:44 +00:00
};
phases = [
"unpackPhase"
"installPhase"
];
installPhase = ''
cp -R . $out
'';
}