2016-09-16 23:24:04 +00:00
|
|
|
{ pkgs ? (import <nixpkgs> {}) }:
|
|
|
|
|
|
|
|
with pkgs;
|
|
|
|
|
|
|
|
let
|
|
|
|
|
|
|
|
primary-src = callPackage ./default-primary-src.nix {};
|
|
|
|
|
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "generate-libreoffice-srcs-shell";
|
|
|
|
|
|
|
|
buildCommand = "exit 1";
|
|
|
|
|
|
|
|
downloadList = stdenv.mkDerivation {
|
|
|
|
name = "libreoffice-${primary-src.version}-download-list";
|
|
|
|
inherit (primary-src) src version;
|
|
|
|
builder = ./download-list-builder.sh;
|
|
|
|
};
|
|
|
|
|
2016-09-19 03:01:16 +00:00
|
|
|
buildInputs = [ python3 ];
|
|
|
|
|
2016-09-16 23:24:04 +00:00
|
|
|
shellHook = ''
|
|
|
|
function generate {
|
2016-09-19 03:01:16 +00:00
|
|
|
python3 generate-libreoffice-srcs.py > libreoffice-srcs.nix
|
2016-09-16 23:24:04 +00:00
|
|
|
}
|
|
|
|
'';
|
|
|
|
}
|