2021-01-23 17:15:07 +00:00
|
|
|
{ lib, stdenv, fetchurl, unzip }:
|
2016-01-16 15:28:12 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "1.0";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "pharo-share";
|
2016-01-16 15:28:12 +00:00
|
|
|
|
2019-06-19 16:45:34 +01:00
|
|
|
dontUnpack = true;
|
2016-01-16 15:28:12 +00:00
|
|
|
|
|
|
|
sources10Zip = fetchurl {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "http://files.pharo.org/sources/PharoV10.sources.zip";
|
2016-01-16 15:28:12 +00:00
|
|
|
sha256 = "0aijhr3w5w3jzmnpl61g6xkwyi2l1mxy0qbvr9k3whz8zlrsijh2";
|
|
|
|
};
|
|
|
|
|
|
|
|
sources20Zip = fetchurl {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "http://files.pharo.org/sources/PharoV20.sources.zip";
|
2016-01-16 15:28:12 +00:00
|
|
|
sha256 = "1xsc0p361pp8iha5zckppw29sbapd706wbvzvgjnkv2n6n1q5gj7";
|
|
|
|
};
|
|
|
|
|
|
|
|
sources30Zip = fetchurl {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "http://files.pharo.org/sources/PharoV30.sources.zip";
|
2016-01-16 15:28:12 +00:00
|
|
|
sha256 = "08d9a7gggwpwgrfbp7iv5896jgqz3vgjfrq19y3jw8k10pva98ak";
|
|
|
|
};
|
|
|
|
|
|
|
|
sources40Zip = fetchurl {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "http://files.pharo.org/sources/PharoV40.sources.zip";
|
2016-01-16 15:28:12 +00:00
|
|
|
sha256 = "1xq1721ql19hpgr8ir372h92q7g8zwd6k921b21dap4wf8djqnpd";
|
|
|
|
};
|
|
|
|
|
2016-05-06 08:29:29 +01:00
|
|
|
sources50Zip = fetchurl {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "http://files.pharo.org/sources/PharoV50.sources.zip";
|
2017-11-13 19:43:30 +00:00
|
|
|
sha256 = "1vmcah03zacvj1r2x27vdp63g6rcbz3prjd5sjy1z0a9xsjmqp25";
|
2016-05-06 08:29:29 +01:00
|
|
|
};
|
|
|
|
|
2017-07-05 05:53:51 +01:00
|
|
|
sources60Zip = fetchurl {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "http://files.pharo.org/sources/PharoV60.sources.zip";
|
2017-07-05 05:53:51 +01:00
|
|
|
sha256 = "0xbdi679ryb2zg412xy6zkh22l20pmbl92m3qhfgzjvgybna8z2a";
|
|
|
|
};
|
|
|
|
|
2016-01-16 15:28:12 +00:00
|
|
|
buildInputs = [ unzip ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $prefix/lib
|
|
|
|
|
|
|
|
unzip ${sources10Zip} -d $prefix/lib/
|
|
|
|
unzip ${sources20Zip} -d $prefix/lib/
|
|
|
|
unzip ${sources30Zip} -d $prefix/lib/
|
|
|
|
unzip ${sources40Zip} -d $prefix/lib/
|
2016-05-06 08:29:29 +01:00
|
|
|
unzip ${sources50Zip} -d $prefix/lib/
|
2017-07-05 05:53:51 +01:00
|
|
|
unzip ${sources60Zip} -d $prefix/lib/
|
2016-01-16 15:28:12 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Shared files for Pharo";
|
2020-10-26 00:41:28 +00:00
|
|
|
homepage = "https://pharo.org";
|
2021-01-23 17:15:07 +00:00
|
|
|
license = lib.licenses.mit;
|
2017-01-31 10:00:14 +00:00
|
|
|
maintainers = [ ];
|
2016-01-16 15:28:12 +00:00
|
|
|
};
|
|
|
|
}
|