26 lines
558 B
Nix
26 lines
558 B
Nix
{ pkgs ? import <nixpkgs> { } }:
|
|
with pkgs;
|
|
let
|
|
repo = fetchFromGitHub {
|
|
owner = "pigpigyyy";
|
|
repo = "MoonPlus";
|
|
rev = "2e50c15bfe67d4709880a0377d37fca191be2f3e";
|
|
sha256 = "0h4kh20qi457mbwi4v7apji4kxqi8razys4aqp4z5v9d7zy0d0zz";
|
|
};
|
|
|
|
defaultAttrs = {
|
|
builder = ./builder.sh;
|
|
baseInputs = [];
|
|
src = repo;
|
|
version = "HEAD-2e50c15";
|
|
name = "MoonPlus";
|
|
system = builtins.currentSystem;
|
|
|
|
installPhase = ''
|
|
ls
|
|
install -D bin/release/moonp $out/bin/moonp
|
|
'';
|
|
};
|
|
|
|
in stdenv.mkDerivation defaultAttrs
|