2020-03-15 13:24:55 +00:00
|
|
|
{ sources ? import ../../nix/sources.nix, pkgs ? import <nixpkgs> { } }:
|
2020-02-01 17:09:13 +00:00
|
|
|
with pkgs;
|
|
|
|
let
|
|
|
|
defaultAttrs = {
|
|
|
|
builder = ./builder.sh;
|
2020-03-15 13:24:55 +00:00
|
|
|
baseInputs = [ ];
|
2020-02-13 17:29:49 +00:00
|
|
|
src = sources.MoonPlus;
|
|
|
|
version = "HEAD";
|
2020-02-01 17:09:13 +00:00
|
|
|
name = "MoonPlus";
|
|
|
|
system = builtins.currentSystem;
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
ls
|
2020-02-05 04:07:19 +00:00
|
|
|
install -D bin/release/moonp $out/bin/moonp
|
2020-02-01 17:09:13 +00:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
|
|
|
in stdenv.mkDerivation defaultAttrs
|