2017-01-18 14:32:59 +00:00
|
|
|
{ stdenv, fetchurl, pythonPackages }:
|
|
|
|
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
|
|
|
name = "hy-${version}";
|
2018-02-24 21:37:58 +00:00
|
|
|
version = "0.14.0";
|
2017-01-18 14:32:59 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/h/hy/${name}.tar.gz";
|
2018-02-24 21:37:58 +00:00
|
|
|
sha256 = "0cbdh1q0zm00p4h7i44kir4qhw0p6sid78xf6llrx2p21llsnv98";
|
2017-01-18 14:32:59 +00:00
|
|
|
};
|
|
|
|
|
2017-04-08 04:15:16 +01:00
|
|
|
propagatedBuildInputs = with pythonPackages; [ appdirs clint astor rply ];
|
2017-01-18 14:32:59 +00:00
|
|
|
|
2018-02-24 21:37:58 +00:00
|
|
|
# The build generates a .json parser file in the home directory under .cache.
|
|
|
|
# This is needed to get it to not try and open files in /homeless-shelter
|
|
|
|
preConfigure = ''
|
|
|
|
export HOME=$TMP
|
|
|
|
'';
|
|
|
|
|
2017-01-18 14:32:59 +00:00
|
|
|
meta = {
|
|
|
|
description = "A LISP dialect embedded in Python";
|
|
|
|
homepage = http://hylang.org/;
|
|
|
|
license = stdenv.lib.licenses.mit;
|
2017-01-19 15:48:27 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.nixy ];
|
2017-01-18 14:32:59 +00:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|