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}";
|
2019-03-02 07:58:04 +00:00
|
|
|
version = "0.2.0";
|
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;
|
2019-03-02 07:58:04 +00:00
|
|
|
sha256 = "0zzcq0vsl6kcrsxwqzd3s9mq7aq5sg8si5c83rxyi9n6a06gnbh7";
|
2016-10-10 19:41:49 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ponyc ];
|
|
|
|
|
2019-03-02 07:58:04 +00:00
|
|
|
installFlags = [ "prefix=${placeholder "out"}" "install" ];
|
2016-10-10 19:41:49 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A simple dependency manager for the Pony language.";
|
2017-08-22 19:50:04 +01:00
|
|
|
homepage = https://www.ponylang.org;
|
2016-10-10 19:41:49 +01:00
|
|
|
license = stdenv.lib.licenses.bsd2;
|
2018-05-30 10:55:14 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ dipinhora kamilchm patternspandemic ];
|
2016-10-10 19:41:49 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
};
|
|
|
|
}
|