2016-10-10 19:41:49 +01:00
|
|
|
{stdenv, fetchFromGitHub, ponyc }:
|
|
|
|
|
2017-08-14 08:52:31 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "pony-stable-${version}";
|
|
|
|
version = "0.0.1";
|
2016-10-10 19:41:49 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2017-07-10 09:34:33 +01:00
|
|
|
owner = "ponylang";
|
2016-10-10 19:41:49 +01:00
|
|
|
repo = "pony-stable";
|
2017-08-14 08:52:31 +01:00
|
|
|
rev = version;
|
|
|
|
sha256 = "0q05135mnzzdwam7cnmxq34clqhmc83yp2gi63sx20c74rcw3p6v";
|
2016-10-10 19:41:49 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
2017-08-14 08:52:31 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ dipinhora kamilchm ];
|
2016-10-10 19:41:49 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
};
|
|
|
|
}
|