blob: 3f08ca8f7c22bd7bbd80d644adc94790670d792a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ stdenv, fetchurl, pythonPackages }:
pythonPackages.buildPythonApplication rec {
name = "hy-${version}";
version = "0.14.0";
src = fetchurl {
url = "mirror://pypi/h/hy/${name}.tar.gz";
sha256 = "0cbdh1q0zm00p4h7i44kir4qhw0p6sid78xf6llrx2p21llsnv98";
};
propagatedBuildInputs = with pythonPackages; [ appdirs clint astor rply ];
# 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
'';
meta = {
description = "A LISP dialect embedded in Python";
homepage = http://hylang.org/;
license = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.nixy ];
platforms = stdenv.lib.platforms.all;
};
}
|