Merge branch 'master' into ohmyzsh-cleanups

This commit is contained in:
Tim Steinbach
2020-08-31 08:57:43 -04:00
committed by GitHub
377 changed files with 9941 additions and 7921 deletions
+12 -2
View File
@@ -4,21 +4,31 @@
, glibcLocales
, coreutils
, git
, fetchpatch
}:
python3Packages.buildPythonApplication rec {
pname = "xonsh";
version = "0.9.19";
version = "0.9.20";
# fetch from github because the pypi package ships incomplete tests
src = fetchFromGitHub {
owner = "xonsh";
repo = "xonsh";
rev = version;
sha256 = "1s7nb23zh4may4k3c9yfiizfdflm97hf5q2aww4j6ibykgcydv64";
sha256 = "05phrwqd1c64531y78zxkxd4w1cli8yj3x2cqch7nkzbyz93608p";
};
LC_ALL = "en_US.UTF-8";
patches = [
# Fix vox tests. Remove with the next release
(fetchpatch {
url = "https://github.com/xonsh/xonsh/commit/00aeb7645af97134495cc6bc5fe2f41922df8676.patch";
sha256 = "0hx5jk22wxgmjzmqbxr2pjs3mwh7p0jwld0xhslc1s6whbjml25h";
})
];
postPatch = ''
sed -ie "s|/bin/ls|${coreutils}/bin/ls|" tests/test_execer.py
sed -ie "s|SHELL=xonsh|SHELL=$out/bin/xonsh|" tests/test_integrations.py
+3 -10
View File
@@ -4,23 +4,16 @@
{ stdenv, fetchFromGitHub, fetchpatch }:
stdenv.mkDerivation rec {
version = "2020-08-24";
version = "2020-08-28";
pname = "oh-my-zsh";
src = fetchFromGitHub {
owner = "ohmyzsh";
repo = "ohmyzsh";
rev = "cfb86cd08d3b24fd4b59d0d35b3af1f589c891fa";
sha256 = "0af37smv0bqw37bng2halzgszf8y3m2sxahdff54m16asm0py2cr";
rev = "4ed6fd2b8b6a0efb2f84f00a64503282aca260e7";
sha256 = "0f2f1k6s28lgxpjdgl4s7jisw6dgva9mcsqlsq0wg6041p246nai";
};
patches = [(fetchpatch {
# TODO: remove once https://github.com/ohmyzsh/ohmyzsh/pull/9210 is merged
name = "0001-pygmalion-use-pure-zsh-instead-of-perl.patch";
url = "https://github.com/flokli/ohmyzsh/commit/299b48ce422957c0f5ca06cd5ccade55e0a08d87.patch";
sha256 = "1cxj3c9bbcqd8zj9fccn117n2rzhx6krzbl4db059g2vsycadwmi";
})];
installPhase = ''
outdir=$out/share/oh-my-zsh
template=templates/zshrc.zsh-template