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