about summary refs log tree commit diff
path: root/pkgs/development/interpreters
diff options
context:
space:
mode:
authormarkuskowa <markus.kowalewski@gmail.com>2019-07-04 19:04:37 +0200
committerGitHub <noreply@github.com>2019-07-04 19:04:37 +0200
commit9390903b02eb518619e4775117505e98acef4f5c (patch)
tree18583eff1ae49f309d162d722ec79d0e8165760d /pkgs/development/interpreters
parentd0e3c02a494bca5445625a0e46926a617364db81 (diff)
parenta1801ff4dece7d1a19bcaefd3f83887e6593a521 (diff)
downloadnixlib-9390903b02eb518619e4775117505e98acef4f5c.tar
nixlib-9390903b02eb518619e4775117505e98acef4f5c.tar.gz
nixlib-9390903b02eb518619e4775117505e98acef4f5c.tar.bz2
nixlib-9390903b02eb518619e4775117505e98acef4f5c.tar.lz
nixlib-9390903b02eb518619e4775117505e98acef4f5c.tar.xz
nixlib-9390903b02eb518619e4775117505e98acef4f5c.tar.zst
nixlib-9390903b02eb518619e4775117505e98acef4f5c.zip
Merge pull request #64294 from tadeokondrak/hy/update/0.17.0
hy: 0.16.0 -> 0.17.0
Diffstat (limited to 'pkgs/development/interpreters')
-rw-r--r--pkgs/development/interpreters/hy/default.nix31
1 files changed, 11 insertions, 20 deletions
diff --git a/pkgs/development/interpreters/hy/default.nix b/pkgs/development/interpreters/hy/default.nix
index 12631cee38ae..a6acd603c815 100644
--- a/pkgs/development/interpreters/hy/default.nix
+++ b/pkgs/development/interpreters/hy/default.nix
@@ -1,23 +1,14 @@
-{ stdenv, fetchurl, fetchpatch, pythonPackages }:
+{ stdenv, fetchurl, pythonPackages }:
 
 pythonPackages.buildPythonApplication rec {
-  name = "hy-${version}";
-  version = "0.16.0";
+  pname = "hy";
+  version = "0.17.0";
 
-  src = fetchurl {
-    url = "mirror://pypi/h/hy/${name}.tar.gz";
-    sha256 = "00lq38ppikrpyw38fn5iy9iwrsamsv22507cp146dsjbzkwjpzrd";
+  src = pythonPackages.fetchPypi {
+    inherit pname version;
+    sha256 = "1gdbqsirsdxj320wnp7my5awzs1kfs6m4fqmkzbd1zd47qzj0zfi";
   };
 
-  patches = [
-    (fetchpatch {
-      name = "bytecode-error-handling.patch";
-      url = "https://github.com/hylang/hy/commit/57326785b97b7b0a89f6258fe3d04dccdc06cfc0.patch";
-      sha256 = "1lxxs7mxbh0kaaa25b1pbqs9d8asyjnlf2n86qg8hzsv32jfcq92";
-      excludes = [ "AUTHORS" "NEWS.rst" ];
-    })
-  ];
-
   propagatedBuildInputs = with pythonPackages; [
     appdirs
     astor
@@ -27,11 +18,11 @@ pythonPackages.buildPythonApplication rec {
     rply
   ];
 
-  meta = {
+  meta = with stdenv.lib; {
     description = "A LISP dialect embedded in Python";
-    homepage = http://hylang.org/;
-    license = stdenv.lib.licenses.mit;
-    maintainers = [ stdenv.lib.maintainers.nixy ];
-    platforms = stdenv.lib.platforms.all;
+    homepage = "http://hylang.org/";
+    license = licenses.mit;
+    maintainers = with maintainers; [ nixy ];
+    platforms = platforms.all;
   };
 }