mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 16:45:49 +01:00
Merge pull request #64294 from tadeokondrak/hy/update/0.17.0
hy: 0.16.0 -> 0.17.0
This commit is contained in:
commit
9390903b02
2 changed files with 13 additions and 22 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "astor";
|
pname = "astor";
|
||||||
version = "0.7.1";
|
version = "0.8.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "95c30d87a6c2cf89aa628b87398466840f0ad8652f88eb173125a6df8533fb8d";
|
sha256 = "0qkq5bf13fqcwablg0nk7rx83izxdizysd42n26j5wbingcfx9ip";
|
||||||
};
|
};
|
||||||
|
|
||||||
# disable tests broken with python3.6: https://github.com/berkerpeksag/astor/issues/89
|
# disable tests broken with python3.6: https://github.com/berkerpeksag/astor/issues/89
|
||||||
|
|
Loading…
Reference in a new issue