hy: 0.16.0 -> 0.17.0

This commit is contained in:
Tadeo Kondrak 2019-07-04 04:09:28 -06:00
parent 2b5b8493a7
commit a1801ff4de
No known key found for this signature in database
GPG Key ID: C4654C621CD5277C

View File

@ -1,23 +1,14 @@
{ stdenv, fetchurl, fetchpatch, pythonPackages }: { stdenv, fetchurl, pythonPackages }:
pythonPackages.buildPythonApplication rec { pythonPackages.buildPythonApplication rec {
name = "hy-${version}"; pname = "hy";
version = "0.16.0"; version = "0.17.0";
src = fetchurl { src = pythonPackages.fetchPypi {
url = "mirror://pypi/h/hy/${name}.tar.gz"; inherit pname version;
sha256 = "00lq38ppikrpyw38fn5iy9iwrsamsv22507cp146dsjbzkwjpzrd"; 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; [ propagatedBuildInputs = with pythonPackages; [
appdirs appdirs
astor astor
@ -27,11 +18,11 @@ pythonPackages.buildPythonApplication rec {
rply rply
]; ];
meta = { meta = with stdenv.lib; {
description = "A LISP dialect embedded in Python"; description = "A LISP dialect embedded in Python";
homepage = http://hylang.org/; homepage = "http://hylang.org/";
license = stdenv.lib.licenses.mit; license = licenses.mit;
maintainers = [ stdenv.lib.maintainers.nixy ]; maintainers = with maintainers; [ nixy ];
platforms = stdenv.lib.platforms.all; platforms = platforms.all;
}; };
} }