mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
17 lines
596 B
Nix
17 lines
596 B
Nix
{ fetchzip, lib, stdenv }:
|
|
{ version, sha256 }:
|
|
{ inherit version; } // fetchzip {
|
|
inherit sha256;
|
|
name = "psol-${version}";
|
|
url = "https://dl.google.com/dl/page-speed/psol/${version}-x64.tar.gz";
|
|
|
|
meta = {
|
|
description = "PageSpeed Optimization Libraries";
|
|
homepage = "https://developers.google.com/speed/pagespeed/psol";
|
|
license = lib.licenses.asl20;
|
|
# WARNING: This only works with Linux because the pre-built PSOL binary is only supplied for Linux.
|
|
# TODO: Build PSOL from source to support more platforms.
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|