about summary refs log tree commit diff
path: root/pkgs/development/compilers/ponyc/pony-stable.nix
blob: cd4859acec21e66e50525a8b2990ffe06e54afa6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{stdenv, fetchFromGitHub, ponyc }:

stdenv.mkDerivation {
  name = "pony-stable-2016-10-10";

  src = fetchFromGitHub {
    owner = "jemc";
    repo = "pony-stable";
    rev = "fdefa26fed93f4ff81c323f29abd47813c515703";
    sha256 = "16inavy697icgryyvn9gcylgh639xxs7lnbrqdzcryvh0ck15qxk";
  };

  buildInputs = [ ponyc ];

  installPhase = ''
    make prefix=$out install
  '';

  meta = {
    description = "A simple dependency manager for the Pony language.";
    homepage = http://www.ponylang.org;
    license = stdenv.lib.licenses.bsd2;
    maintainers = [ stdenv.lib.maintainers.dipinhora ];
    platforms = stdenv.lib.platforms.unix;
  };
}