git.iko.soy/typeable/nixpkgs
on master help sign in
hy: 0.15 -> 0.16 (#57882)

* hy: 0.15 -> 0.16 * hy: fetch patch directly from upstream repo * hy: remove in-tree patch

commitf5be1fc8493b1f81ba1a6cecd766e072d4054c30 authorAndrew Miller <nixy@nixy.moe> dateWed 1 May 2019, 13:18 (8 years ago) parent3392411
3 files changed+33−3
pkgs/development/interpreters/hy/default.nix+13−3 pkgs/development/python-modules/fastentrypoints/default.nix+18 pkgs/top-level/python-packages.nix+2
pkgs/development/interpreters/hy/default.nix+13−3
@@ -1,18 +1,28 @@
1−{ stdenv, fetchurl, pythonPackages }:
1+{ stdenv, fetchurl, fetchpatch, pythonPackages }:
22
33pythonPackages.buildPythonApplication rec {
44 name = "hy-${version}";
5− version = "0.15.0";
5+ version = "0.16.0";
66
77 src = fetchurl {
88 url = "mirror://pypi/h/hy/${name}.tar.gz";
9− sha256 = "01vzaib1imr00j5d7f7xk44v800h06s3yv9inhlqm6f3b25ywpl1";
9+ sha256 = "00lq38ppikrpyw38fn5iy9iwrsamsv22507cp146dsjbzkwjpzrd";
1010 };
1111
12+ patches = [
13+ (fetchpatch {
14+ name = "bytecode-error-handling.patch";
15+ url = "https://github.com/hylang/hy/commit/57326785b97b7b0a89f6258fe3d04dccdc06cfc0.patch";
16+ sha256 = "1lxxs7mxbh0kaaa25b1pbqs9d8asyjnlf2n86qg8hzsv32jfcq92";
17+ excludes = [ "AUTHORS" "NEWS.rst" ];
18+ })
19+ ];
20+
1221 propagatedBuildInputs = with pythonPackages; [
1322 appdirs
1423 astor
1524 clint
25+ fastentrypoints
1626 funcparserlib
1727 rply
1828 ];
pkgs/development/python-modules/fastentrypoints/default.nixnew file+18
@@ -0,0 +1,18 @@
1+{ stdenv, buildPythonPackage, fetchPypi, pytest }:
2+
3+buildPythonPackage rec {
4+ pname = "fastentrypoints";
5+ version = "0.12";
6+
7+ src = fetchPypi {
8+ inherit pname version;
9+ sha256 = "02s1j8i2dzbpbwgq2a3fiqwm3cnmhii2qzc0k42l0rdxd4a4ya7z";
10+ };
11+
12+ meta = with stdenv.lib; {
13+ description = "Makes entry_points specified in setup.py load more quickly";
14+ homepage = https://github.com/ninjaaron/fast-entry_points;
15+ license = licenses.bsd2;
16+ maintainers = with maintainers; [ nixy ];
17+ };
18+}
pkgs/top-level/python-packages.nix+2
@@ -1919,6 +1919,8 @@ in {
19191919
19201920 fastcache = callPackage ../development/python-modules/fastcache { };
19211921
1922+ fastentrypoints = callPackage ../development/python-modules/fastentrypoints { };
1923+
19221924 functools32 = callPackage ../development/python-modules/functools32 { };
19231925
19241926 future-fstrings = callPackage ../development/python-modules/future-fstrings { };