summary refs log tree commit diff
path: root/pkgs/development/compilers/ponyc
diff options
context:
space:
mode:
authorKamil Chmielewski <kamil.chm@gmail.com>2017-12-17 21:50:31 +0100
committerKamil Chmielewski <kamil.chm@gmail.com>2017-12-17 21:52:11 +0100
commit860ce9e386ba7b95de004dcf6b185f07869d0fde (patch)
tree4cd7ef6af54d6e99581dda6509efadf824ebd1e9 /pkgs/development/compilers/ponyc
parentafe9649210cace6d3ee9046684d4ea27dc4fd15d (diff)
downloadnixlib-860ce9e386ba7b95de004dcf6b185f07869d0fde.tar
nixlib-860ce9e386ba7b95de004dcf6b185f07869d0fde.tar.gz
nixlib-860ce9e386ba7b95de004dcf6b185f07869d0fde.tar.bz2
nixlib-860ce9e386ba7b95de004dcf6b185f07869d0fde.tar.lz
nixlib-860ce9e386ba7b95de004dcf6b185f07869d0fde.tar.xz
nixlib-860ce9e386ba7b95de004dcf6b185f07869d0fde.tar.zst
nixlib-860ce9e386ba7b95de004dcf6b185f07869d0fde.zip
ponyc: 0.20.0 -> 0.21.0
https://github.com/ponylang/ponyc/issues/2379
Diffstat (limited to 'pkgs/development/compilers/ponyc')
-rw-r--r--pkgs/development/compilers/ponyc/default.nix4
-rw-r--r--pkgs/development/compilers/ponyc/disable-tests.patch36
2 files changed, 24 insertions, 16 deletions
diff --git a/pkgs/development/compilers/ponyc/default.nix b/pkgs/development/compilers/ponyc/default.nix
index 8c744e7038e8..af9057e2cf39 100644
--- a/pkgs/development/compilers/ponyc/default.nix
+++ b/pkgs/development/compilers/ponyc/default.nix
@@ -3,13 +3,13 @@
 
 stdenv.mkDerivation ( rec {
   name = "ponyc-${version}";
-  version = "0.20.0";
+  version = "0.21.0";
 
   src = fetchFromGitHub {
     owner = "ponylang";
     repo = "ponyc";
     rev = version;
-    sha256 = "0shln9v0bp0q9qfipm3834vl284q5vwz9333yzgx46d0l2ivggyi";
+    sha256 = "0kpnmgxhha22nhl2bmch47cpr0d9h5718h3w9h7qqwd994xcfk9z";
   };
 
   buildInputs = [ llvm makeWrapper which ];
diff --git a/pkgs/development/compilers/ponyc/disable-tests.patch b/pkgs/development/compilers/ponyc/disable-tests.patch
index 38740cf963eb..d15561721e22 100644
--- a/pkgs/development/compilers/ponyc/disable-tests.patch
+++ b/pkgs/development/compilers/ponyc/disable-tests.patch
@@ -1,19 +1,27 @@
-diff -Naur a/packages/net/_test.pony b/packages/net/_test.pony
---- a/packages/net/_test.pony	1970-01-01 01:00:01.000000000 +0100
-+++ b/packages/net/_test.pony	2016-12-01 22:25:59.102433053 +0100
-@@ -5,14 +5,7 @@
+diff --git a/packages/net/_test.pony b/packages/net/_test.pony
+index baf29e7..b63f368 100644
+--- a/packages/net/_test.pony
++++ b/packages/net/_test.pony
+@@ -5,9 +5,6 @@ actor Main is TestList
    new make() => None
  
    fun tag tests(test: PonyTest) =>
--    test(_TestBroadcast)
--    test(_TestTCPWritev)
--    test(_TestTCPExpect)
--    test(_TestTCPMute)
--    test(_TestTCPUnmute)
--    ifdef not windows then
--      test(_TestTCPThrottle)
+-    ifdef not osx then
+-      test(_TestBroadcast)
 -    end
-+    None
+     test(_TestTCPWritev)
+     test(_TestTCPExpect)
+     test(_TestTCPMute)
+diff --git a/packages/net/http/_test.pony b/packages/net/http/_test.pony
+index e55d5a7..40a4cb6 100644
+--- a/packages/net/http/_test.pony
++++ b/packages/net/http/_test.pony
+@@ -29,8 +29,6 @@ actor Main is TestList
+     test(_Valid)
+     test(_ToStringFun)
+ 
+-    test(_HTTPConnTest)
+-
+ class iso _Encode is UnitTest
+   fun name(): String => "net/http/URLEncode.encode"
  
- class _TestPing is UDPNotify
-   let _h: TestHelper