nixpkgs/pkgs/moonplus/default.nix

26 lines
558 B
Nix
Raw Normal View History

2020-02-01 17:09:13 +00:00
{ pkgs ? import <nixpkgs> { } }:
with pkgs;
let
repo = fetchFromGitHub {
owner = "pigpigyyy";
repo = "MoonPlus";
2020-02-05 04:07:19 +00:00
rev = "2e50c15bfe67d4709880a0377d37fca191be2f3e";
sha256 = "0h4kh20qi457mbwi4v7apji4kxqi8razys4aqp4z5v9d7zy0d0zz";
2020-02-01 17:09:13 +00:00
};
defaultAttrs = {
builder = ./builder.sh;
baseInputs = [];
src = repo;
2020-02-05 04:07:19 +00:00
version = "HEAD-2e50c15";
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