Merge commit staging+systemd into closure-size
Many non-conflict problems weren't (fully) resolved in this commit yet.
This commit is contained in:
@@ -34,4 +34,13 @@ patch: [
|
||||
(patch "031" "07d62bl3z7qa8v6kgk47vzzazw563mlk9zhrsr4xsbqgvmcrylnd")
|
||||
(patch "032" "0jjgapfq4qhmndfrw8c3q3lva8xjdhlbd9cc631v41b0kb95g4w8")
|
||||
(patch "033" "05ma5rlxiadnfh925p4y7s0vvk917kmsdb1mfdx05gizl63pfapv")
|
||||
(patch "034" "12gq9whkq3naa3iy7c7x5pfpvrg7d0kwqld8609zxphhy424ysgi")
|
||||
(patch "035" "1qy1jflmbazjykq766gwabkaiswnx7pwa66whqiny0w02zjqa39p")
|
||||
(patch "036" "0z6jbyy70lfdm6d3x0sbazbqdxb3xnpn9bmz7madpvrnbd284pxc")
|
||||
(patch "037" "04sqr8zkl6s5fccfvb775ppn3ldij5imria9swc39aq0fkfp1w9k")
|
||||
(patch "038" "0rv3g14mpgv8br267bf7rmgqlgwnc4v6g3g8y0sjba571i8amgmd")
|
||||
(patch "039" "1v3l3vkc3g2b6fjycqwlakr8xhiw6bmw6q0zd6bi0m0m4bnxr55b")
|
||||
(patch "040" "0sypv66vsldmc95gwvf7ylz1k7y37vnvdsjg8ajjr6b2j9mkkfw4")
|
||||
(patch "041" "06ic2gdpbi1afik3wqf9d4vh95if4bz8bmhcgr555621dsb35i2f")
|
||||
(patch "042" "1bwhssay66n75fy0pxcrwbm032s6fvfg7dblzbrzzn5k38a56nmp")
|
||||
]
|
||||
|
||||
1393
pkgs/shells/bash/cygwin-bash-4.3.33-1.src.patch
Normal file
1393
pkgs/shells/bash/cygwin-bash-4.3.33-1.src.patch
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,10 +1,14 @@
|
||||
{ stdenv, fetchurl, readline ? null, interactive ? false, texinfo ? null, bison }:
|
||||
{ stdenv, fetchurl, readline ? null, interactive ? false, texinfo ? null, binutils ? null, bison }:
|
||||
|
||||
assert interactive -> readline != null;
|
||||
assert stdenv.isDarwin -> binutils != null;
|
||||
|
||||
let
|
||||
realName = "bash-4.3";
|
||||
version = "4.3";
|
||||
realName = "bash-${version}";
|
||||
shortName = "bash43";
|
||||
baseConfigureFlags = if interactive then "--with-installed-readline" else "--disable-readline";
|
||||
sha256 = "1m14s1f61mf6bijfibcjm9y6pkyvz6gibyl8p4hxq90fisi8gimg";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -12,9 +16,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/bash/${realName}.tar.gz";
|
||||
sha256 = "1m14s1f61mf6bijfibcjm9y6pkyvz6gibyl8p4hxq90fisi8gimg";
|
||||
inherit sha256;
|
||||
};
|
||||
|
||||
outputs = [ "out" "doc" ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = ''
|
||||
-DSYS_BASHRC="/etc/bashrc"
|
||||
-DSYS_BASH_LOGOUT="/etc/bash_logout"
|
||||
@@ -30,15 +36,23 @@ stdenv.mkDerivation rec {
|
||||
(let
|
||||
patch = nr: sha256:
|
||||
fetchurl {
|
||||
url = "mirror://gnu/bash/bash-4.3-patches/bash43-${nr}";
|
||||
url = "mirror://gnu/bash/${realName}-patches/${shortName}-${nr}";
|
||||
inherit sha256;
|
||||
};
|
||||
in
|
||||
import ./bash-4.3-patches.nix patch);
|
||||
import ./bash-4.3-patches.nix patch)
|
||||
++ stdenv.lib.optional stdenv.isCygwin ./cygwin-bash-4.3.33-1.src.patch;
|
||||
|
||||
crossAttrs = {
|
||||
configureFlags = baseConfigureFlags +
|
||||
" bash_cv_job_control_missing=nomissing bash_cv_sys_named_pipes=nomissing";
|
||||
" bash_cv_job_control_missing=nomissing bash_cv_sys_named_pipes=nomissing" +
|
||||
stdenv.lib.optionalString stdenv.isCygwin ''
|
||||
--without-libintl-prefix --without-libiconv-prefix
|
||||
--with-installed-readline
|
||||
bash_cv_dev_stdin=present
|
||||
bash_cv_dev_fd=standard
|
||||
bash_cv_termcap_lib=libncurses
|
||||
'';
|
||||
};
|
||||
|
||||
configureFlags = baseConfigureFlags;
|
||||
@@ -46,7 +60,8 @@ stdenv.mkDerivation rec {
|
||||
# Note: Bison is needed because the patches above modify parse.y.
|
||||
nativeBuildInputs = [bison]
|
||||
++ stdenv.lib.optional (texinfo != null) texinfo
|
||||
++ stdenv.lib.optional interactive readline;
|
||||
++ stdenv.lib.optional interactive readline
|
||||
++ stdenv.lib.optional stdenv.isDarwin binutils;
|
||||
|
||||
# Bash randomly fails to build because of a recursive invocation to
|
||||
# build `version.h'.
|
||||
|
||||
@@ -25,7 +25,8 @@ stdenv.mkDerivation {
|
||||
configureFlags="--with-readline --prefix=$(out) --bindir=$(out)/bin --mandir=$(out)/man";
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p $out/{bin,man}
|
||||
mkdir -p $out/bin
|
||||
mkdir -p $out/man/man1
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
@@ -1,28 +1,34 @@
|
||||
{ stdenv, fetchurl, ncurses, python, which, groff, gettext, man_db, bc, libiconv }:
|
||||
{ stdenv, fetchurl, ncurses, python, which, groff, gettext, man_db, bc, libiconv, coreutils }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "fish-${version}";
|
||||
version = "2.1.2";
|
||||
version = "2.2.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://fishshell.com/files/${version}/${name}.tar.gz";
|
||||
sha256 = "1pgnz5lapm4qk48a13k9698jaswybzlbz2nyc621d852ldf0vhn6";
|
||||
sha256 = "0ympqz7llmf0hafxwglykplw6j5cz82yhlrw50lw4bnf2kykjqx7";
|
||||
};
|
||||
|
||||
buildInputs = [ ncurses libiconv ];
|
||||
|
||||
# Required binaries during execution
|
||||
# Python: Autocompletion generated from manpages and config editing
|
||||
propagatedBuildInputs = [ python which groff gettext man_db bc ];
|
||||
propagatedBuildInputs = [ python which groff gettext ]
|
||||
++ stdenv.lib.optional (!stdenv.isDarwin) man_db
|
||||
++ [ bc coreutils ];
|
||||
|
||||
postInstall = ''
|
||||
sed -i "s|bc|${bc}/bin/bc|" "$out/share/fish/functions/seq.fish"
|
||||
sed -e "s|bc|${bc}/bin/bc|" \
|
||||
-e "s|/usr/bin/seq|${coreutils}/bin/seq|" \
|
||||
-i "$out/share/fish/functions/seq.fish"
|
||||
sed -i "s|which |${which}/bin/which |" "$out/share/fish/functions/type.fish"
|
||||
sed -i "s|nroff |${groff}/bin/nroff |" "$out/share/fish/functions/__fish_print_help.fish"
|
||||
sed -e "s|gettext |${gettext}/bin/gettext |" \
|
||||
-e "s|which |${which}/bin/which |" \
|
||||
-i "$out/share/fish/functions/_.fish"
|
||||
'' + stdenv.lib.optionalString (!stdenv.isDarwin) ''
|
||||
sed -i "s|Popen(\['manpath'|Popen(\['${man_db}/bin/manpath'|" "$out/share/fish/tools/create_manpage_completions.py"
|
||||
'' + ''
|
||||
sed -i "s|/sbin /usr/sbin||" \
|
||||
"$out/share/fish/functions/__fish_complete_subcommand_root.fish"
|
||||
'';
|
||||
|
||||
@@ -1,56 +0,0 @@
|
||||
{ stdenv, fetchurl, buildPythonPackage, pythonPackages, pyqt4 ? null
|
||||
, notebookSupport ? true # ipython notebook
|
||||
, qtconsoleSupport ? true # ipython qtconsole
|
||||
, pylabSupport ? true # ipython --pylab (backend: agg - no gui, just file)
|
||||
, pylabQtSupport ? true # ipython --pylab=qt (backend: Qt4Agg - plot to window)
|
||||
}:
|
||||
|
||||
# ipython qtconsole works with both pyside and pyqt4. But ipython --pylab=qt
|
||||
# only works with pyqt4 (at least this is true for ipython 0.13.1). So just use
|
||||
# pyqt4 for both.
|
||||
|
||||
assert qtconsoleSupport == true -> pyqt4 != null;
|
||||
assert pylabQtSupport == true -> pyqt4 != null;
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "ipython-2.3.1";
|
||||
namePrefix = "";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://pypi.python.org/packages/source/i/ipython/${name}.tar.gz";
|
||||
sha256 = "1764gi5m3ff481rjk336cw6i2h4zlc0nxam9rc5m8m7yl9m4d61y";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pythonPackages.readline
|
||||
pythonPackages.sqlite3 # required for history support
|
||||
] ++ stdenv.lib.optionals notebookSupport [
|
||||
pythonPackages.tornado
|
||||
pythonPackages.pyzmq
|
||||
pythonPackages.jinja2
|
||||
] ++ stdenv.lib.optionals qtconsoleSupport [
|
||||
pythonPackages.pygments
|
||||
pythonPackages.pyzmq
|
||||
pyqt4
|
||||
] ++ stdenv.lib.optionals pylabSupport [
|
||||
pythonPackages.matplotlib
|
||||
] ++ stdenv.lib.optionals pylabQtSupport [
|
||||
pythonPackages.matplotlib
|
||||
pyqt4
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
homepage = http://ipython.scipy.org/;
|
||||
description = "An interactive computing environment for Python";
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
longDescription = ''
|
||||
The goal of IPython is to create a comprehensive environment
|
||||
for interactive and exploratory computing. It consists of an
|
||||
enhanced interactive Python shell and an architecture for
|
||||
interactive parallel computing.
|
||||
'';
|
||||
maintainers = [ stdenv.lib.maintainers.bjornfor ];
|
||||
};
|
||||
}
|
||||
@@ -1,17 +1,15 @@
|
||||
{ stdenv, fetchurl, groff }:
|
||||
|
||||
with stdenv.lib;
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
let version = "51"; in
|
||||
stdenv.mkDerivation {
|
||||
name = "mksh-${version}";
|
||||
version = "R50d";
|
||||
|
||||
src = fetchurl {
|
||||
urls = [
|
||||
"http://www.mirbsd.org/MirOS/dist/mir/mksh/${name}.tgz"
|
||||
"http://pub.allbsd.org/MirOS/dist/mir/mksh/${name}.tgz"
|
||||
"http://www.mirbsd.org/MirOS/dist/mir/mksh/mksh-R${version}.tgz"
|
||||
"http://pub.allbsd.org/MirOS/dist/mir/mksh/mksh-R${version}.tgz"
|
||||
];
|
||||
sha256 = "10prcdffwziksq9sw96c1r09h4kg2zwznybrggzmjfa6l4k8h9m2";
|
||||
sha256 = "1pyscl3w4aw067a5hb8mczy3z545jz1dwx9n2b09k09xydgsmvlz";
|
||||
};
|
||||
|
||||
buildInputs = [ groff ];
|
||||
@@ -31,7 +29,8 @@ stdenv.mkDerivation rec {
|
||||
install -D -m 644 dot.mkshrc $out/share/mksh/mkshrc
|
||||
'';
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
inherit version;
|
||||
description = "MirBSD Korn Shell";
|
||||
longDescription = ''
|
||||
The MirBSD Korn Shell is a DFSG-free and OSD-compliant (and OSI
|
||||
@@ -41,7 +40,7 @@ stdenv.mkDerivation rec {
|
||||
systems.
|
||||
'';
|
||||
homepage = "https://www.mirbsd.org/mksh.htm";
|
||||
license = "custom";
|
||||
license = licenses.free;
|
||||
maintainers = [ maintainers.AndersonTorres ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, python3Packages}:
|
||||
{stdenv, fetchFromGitHub, python3Packages}:
|
||||
|
||||
python3Packages.buildPythonPackage rec {
|
||||
name = "xonsh-${version}";
|
||||
@@ -16,9 +16,11 @@ python3Packages.buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [ python3Packages.ply ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/scopatz/xonsh/archive/${version}.zip";
|
||||
sha256 = "0p2d7p892w77ii8yy51vpw7jlz2y53k8g61m7l8bar3hr3qrl306";
|
||||
src = fetchFromGitHub {
|
||||
owner = "scopatz";
|
||||
repo = "xonsh";
|
||||
rev = version;
|
||||
sha256 = "04qnjqpz5y38g22irpph13j2a4hy7mk9pqvqz1mfimaf8zgmyh1n";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
let
|
||||
|
||||
version = "5.0.7";
|
||||
version = "5.1.1";
|
||||
|
||||
documentation = fetchurl {
|
||||
url = "mirror://sourceforge/zsh/zsh-${version}-doc.tar.bz2";
|
||||
sha256 = "1wgw16r7z6k3mbr94mwfc8f13yc4ds2d9qk41hvsiv6rm5dnds23";
|
||||
url = "mirror://sourceforge/zsh/zsh-${version}-doc.tar.gz";
|
||||
sha256 = "0p99dr7kck0a6im1w9qiiz2ai78mgy53gbbn87bam9ya2885gf05";
|
||||
};
|
||||
|
||||
in
|
||||
@@ -15,8 +15,8 @@ stdenv.mkDerivation {
|
||||
name = "zsh-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/zsh/zsh-${version}.tar.bz2";
|
||||
sha256 = "1cq4cz7ngvmbg399dva3g6njcz5d92gprmyi2swqc0klh7g2fkjl";
|
||||
url = "mirror://sourceforge/zsh/zsh-${version}.tar.gz";
|
||||
sha256 = "11shllzhq53fg8ngy3bgbmpf09fn2czifg7hsb41nxi3410mpvcl";
|
||||
};
|
||||
|
||||
buildInputs = [ ncurses coreutils pcre ];
|
||||
@@ -25,6 +25,10 @@ stdenv.mkDerivation {
|
||||
configureFlags="--enable-maildir-support --enable-multibyte --enable-zprofile=$out/etc/zprofile --with-tcsetpgrp --enable-pcre"
|
||||
'';
|
||||
|
||||
# Some tests fail on hydra, see
|
||||
# http://hydra.nixos.org/build/25637689/nixlog/1
|
||||
doCheck = false;
|
||||
|
||||
# XXX: think/discuss about this, also with respect to nixos vs nix-on-X
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/
|
||||
@@ -69,7 +73,7 @@ EOF
|
||||
'';
|
||||
license = "MIT-like";
|
||||
homepage = "http://www.zsh.org/";
|
||||
maintainers = with stdenv.lib.maintainers; [ chaoflow ];
|
||||
maintainers = with stdenv.lib.maintainers; [ chaoflow pSub ];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user