2017-01-18 15:32:59 +01:00
|
|
|
{ stdenv, fetchurl, pythonPackages }:
|
|
|
|
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
|
|
|
name = "hy-${version}";
|
2018-02-24 22:37:58 +01:00
|
|
|
version = "0.14.0";
|
2017-01-18 15:32:59 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/h/hy/${name}.tar.gz";
|
2018-02-24 22:37:58 +01:00
|
|
|
sha256 = "0cbdh1q0zm00p4h7i44kir4qhw0p6sid78xf6llrx2p21llsnv98";
|
2017-01-18 15:32:59 +01:00
|
|
|
};
|
|
|
|
|
2017-04-08 05:15:16 +02:00
|
|
|
propagatedBuildInputs = with pythonPackages; [ appdirs clint astor rply ];
|
2017-01-18 15:32:59 +01:00
|
|
|
|
2018-02-24 22:37:58 +01: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 15:32:59 +01:00
|
|
|
meta = {
|
|
|
|
description = "A LISP dialect embedded in Python";
|
|
|
|
homepage = http://hylang.org/;
|
|
|
|
license = stdenv.lib.licenses.mit;
|
2017-01-19 16:48:27 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.nixy ];
|
2017-01-18 15:32:59 +01:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|