blob: 45c3afb3a4d58de716ceb66b15318e4fb8042dc5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{ 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";
sha256 = "1vckvvfcawgfqmx415r5rnl6k2alx53jbqmsj49kxpbdvvxpb49d";
};
phases = [
"unpackPhase"
"installPhase"
];
installPhase = ''
cp -R . $out
'';
}
|