2021-01-22 11:25:31 +00:00
|
|
|
{lib, stdenv, fetchFromGitHub, ponyc }:
|
2016-10-10 18:41:49 +00:00
|
|
|
|
2017-08-14 07:52:31 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "pony-stable";
|
2019-11-29 00:00:20 +00:00
|
|
|
version = "0.2.2";
|
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;
|
2019-11-29 00:00:20 +00:00
|
|
|
sha256 = "0nzvsqvl315brp3yb4j5kl82xnkmib4jk416jjc7yrz4k3jgr278";
|
2016-10-10 18:41:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ponyc ];
|
|
|
|
|
2019-03-02 07:58:04 +00:00
|
|
|
installFlags = [ "prefix=${placeholder "out"}" "install" ];
|
2016-10-10 18:41:49 +00:00
|
|
|
|
|
|
|
meta = {
|
2020-10-11 05:55:05 +00:00
|
|
|
description = "A simple dependency manager for the Pony language";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.ponylang.org";
|
2021-01-22 11:25:31 +00:00
|
|
|
license = lib.licenses.bsd2;
|
|
|
|
maintainers = with lib.maintainers; [ dipinhora kamilchm patternspandemic ];
|
|
|
|
platforms = lib.platforms.unix;
|
2016-10-10 18:41:49 +00:00
|
|
|
};
|
|
|
|
}
|