1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/applications/office/libreoffice/still-gen-shell.nix
2016-09-19 12:01:30 -04:00

30 lines
554 B
Nix

{ pkgs ? (import <nixpkgs> {}) }:
with pkgs;
let
primary-src = callPackage ./still-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;
};
buildInputs = [ python3 ];
shellHook = ''
function generate {
python3 generate-libreoffice-srcs.py > libreoffice-srcs-still.nix
}
'';
}