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