nixpkgs/pkgs/moonplus/default.nix

19 lines
399 B
Nix

{ sources ? import ../../nix/sources.nix, pkgs ? import <nixpkgs> { } }:
with pkgs;
let
defaultAttrs = {
builder = ./builder.sh;
baseInputs = [ ];
src = sources.MoonPlus;
version = "HEAD";
name = "MoonPlus";
system = builtins.currentSystem;
installPhase = ''
ls
install -D bin/release/moonp $out/bin/moonp
'';
};
in stdenv.mkDerivation defaultAttrs