2018-07-21 02:44:44 +02:00
|
|
|
{ stdenv, lib, fetchurl }:
|
2019-08-27 13:14:02 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "oil";
|
|
|
|
version = "0.7.pre3";
|
2017-08-06 19:17:00 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://www.oilshell.org/download/oil-${version}.tar.xz";
|
2019-08-27 13:14:02 +02:00
|
|
|
sha256 = "01zc36zaasaagr54rnh90k0j7pbnj0cc6a9pvz6gs6pk91i80lqg";
|
2017-08-06 19:17:00 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
patchShebangs build
|
|
|
|
'';
|
|
|
|
|
|
|
|
preInstall = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
# Stripping breaks the bundles by removing the zip file from the end.
|
|
|
|
dontStrip = true;
|
|
|
|
|
|
|
|
meta = {
|
2019-08-27 13:14:02 +02:00
|
|
|
description = "A new unix shell";
|
2017-08-06 19:17:00 +02:00
|
|
|
homepage = https://www.oilshell.org/;
|
|
|
|
|
|
|
|
license = with lib.licenses; [
|
|
|
|
psfl # Includes a portion of the python interpreter and standard library
|
|
|
|
asl20 # Licence for Oil itself
|
|
|
|
];
|
|
|
|
|
|
|
|
maintainers = with lib.maintainers; [ lheckemann ];
|
|
|
|
};
|
|
|
|
}
|