Merge branch 'staging-next' into staging
This commit is contained in:
@@ -1,14 +1,23 @@
|
||||
{ stdenv, lib, fetchurl }:
|
||||
{ stdenv, lib, fetchurl, fetchpatch, readline }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "oil";
|
||||
version = "0.7.pre3";
|
||||
version = "0.7.pre5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.oilshell.org/download/oil-${version}.tar.xz";
|
||||
sha256 = "01zc36zaasaagr54rnh90k0j7pbnj0cc6a9pvz6gs6pk91i80lqg";
|
||||
sha256 = "1vpk4my8lp7wik8ywspawimya2a7hb1qjkp5vpm7ypmkya5jqivc";
|
||||
};
|
||||
|
||||
|
||||
# TODO remove at next bump
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/oilshell/oil/commit/81551d76ae5a8b53179f2472492d0b44f13f84fd.patch";
|
||||
sha256 = "0v99cx13ajqmf489vvxkqhqi9pjyc8jn0dgc8wp78gsv9js2k7km";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs build
|
||||
'';
|
||||
@@ -17,6 +26,9 @@ stdenv.mkDerivation rec {
|
||||
mkdir -p $out/bin
|
||||
'';
|
||||
|
||||
buildInputs = [ readline ];
|
||||
configureFlags = [ "--with-readline" ];
|
||||
|
||||
# Stripping breaks the bundles by removing the zip file from the end.
|
||||
dontStrip = true;
|
||||
|
||||
@@ -29,6 +41,10 @@ stdenv.mkDerivation rec {
|
||||
asl20 # Licence for Oil itself
|
||||
];
|
||||
|
||||
maintainers = with lib.maintainers; [ lheckemann ];
|
||||
maintainers = with lib.maintainers; [ lheckemann alva ];
|
||||
};
|
||||
|
||||
passthru = {
|
||||
shellPath = "/bin/osh";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
{ stdenv, fetchgit }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2019-10-01";
|
||||
version = "2019-10-09";
|
||||
pname = "oh-my-zsh";
|
||||
rev = "bb6ae70b92ce720762ff3baed65aadbd34fc1867";
|
||||
rev = "710a3d5a1e2888a4dfb1769f8f1edd8a590eee22";
|
||||
|
||||
src = fetchgit { inherit rev;
|
||||
url = "https://github.com/robbyrussell/oh-my-zsh";
|
||||
sha256 = "1is3rk3bix1i8splamc6fi157pjvx25s66vvgvq298gs50k5jf9x";
|
||||
sha256 = "0yckzrinlggyr40qc0cib3nw631vgy8nryiazyjw1mlx8iq1dskd";
|
||||
};
|
||||
|
||||
pathsToLink = [ "/share/oh-my-zsh" ];
|
||||
|
||||
Reference in New Issue
Block a user