2016-10-10 20:41:49 +02:00
|
|
|
{stdenv, fetchFromGitHub, ponyc }:
|
|
|
|
|
2017-08-14 09:52:31 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "pony-stable-${version}";
|
2017-11-07 20:20:39 +01:00
|
|
|
version = "0.1.1";
|
2016-10-10 20:41:49 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2017-07-10 10:34:33 +02:00
|
|
|
owner = "ponylang";
|
2016-10-10 20:41:49 +02:00
|
|
|
repo = "pony-stable";
|
2017-08-14 09:52:31 +02:00
|
|
|
rev = version;
|
2017-11-07 20:20:39 +01:00
|
|
|
sha256 = "0v4039iijjv93m89s3dsikcbp1y0hml6g1agj44s6w2g4m8kiiw3";
|
2016-10-10 20:41:49 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ponyc ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
make prefix=$out install
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A simple dependency manager for the Pony language.";
|
2017-08-22 20:50:04 +02:00
|
|
|
homepage = https://www.ponylang.org;
|
2016-10-10 20:41:49 +02:00
|
|
|
license = stdenv.lib.licenses.bsd2;
|
2017-08-14 09:52:31 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ dipinhora kamilchm ];
|
2016-10-10 20:41:49 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
};
|
|
|
|
}
|