fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{stdenv, fetchFromGitHub, python3Packages}:
2
3python3Packages.buildPythonApplication rec {
4 name = "xonsh-${version}";
5 version = "0.1.3";
6
7 # The logo xonsh prints during build contains unicode characters, and this
8 # fails because locales have not been set up in the build environment.
9 # We can fix this on Linux by setting:
10 # export LOCALE_ARCHIVE=${pkgs.glibcLocales}/lib/locale/locale-archive
11 # but this would not be a cross platform solution, so it's simpler to just
12 # patch the setup.py script to not print the logo during build.
13 prePatch = ''
14 substituteInPlace setup.py --replace "print(logo)" ""
15 '';
16
17 propagatedBuildInputs = [ python3Packages.ply ];
18
19 src = fetchFromGitHub {
20 owner = "scopatz";
21 repo = "xonsh";
22 rev = version;
23 sha256 = "04qnjqpz5y38g22irpph13j2a4hy7mk9pqvqz1mfimaf8zgmyh1n";
24 };
25
26 meta = with stdenv.lib; {
27 description = "A Python-ish, BASHwards-compatible shell";
28 homepage = "http://xonsh.org";
29 license = licenses.bsd3;
30 maintainers = [ maintainers.spwhitt ];
31 platforms = platforms.all;
32 };
33}