about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/compilers/ponyc/pony-stable.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/compilers/ponyc/pony-stable.nix')
-rw-r--r--nixpkgs/pkgs/development/compilers/ponyc/pony-stable.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/compilers/ponyc/pony-stable.nix b/nixpkgs/pkgs/development/compilers/ponyc/pony-stable.nix
new file mode 100644
index 000000000000..821a9b8125cd
--- /dev/null
+++ b/nixpkgs/pkgs/development/compilers/ponyc/pony-stable.nix
@@ -0,0 +1,25 @@
+{stdenv, fetchFromGitHub, ponyc }:
+
+stdenv.mkDerivation rec {
+  name = "pony-stable-${version}";
+  version = "0.2.0";
+
+  src = fetchFromGitHub {
+    owner = "ponylang";
+    repo = "pony-stable";
+    rev = version;
+    sha256 = "0zzcq0vsl6kcrsxwqzd3s9mq7aq5sg8si5c83rxyi9n6a06gnbh7";
+  };
+
+  buildInputs = [ ponyc ];
+
+  installFlags = [ "prefix=${placeholder "out"}" "install" ];
+
+  meta = {
+    description = "A simple dependency manager for the Pony language.";
+    homepage = https://www.ponylang.org;
+    license = stdenv.lib.licenses.bsd2;
+    maintainers = with stdenv.lib.maintainers; [ dipinhora kamilchm patternspandemic ];
+    platforms = stdenv.lib.platforms.unix;
+  };
+}