haskellPackages.bustle: fix building on Hydra

Bustle is proclaiming OtherLicense even though the code is licensed under LGPL 2.1+. This causes cabal2nix to set hydraPlatforms = stdenv.lib.platforms.none in hackage-packages.nix for the package.

Lets let's unset the attribute and fix the license.
This commit is contained in:
Jan Tojnar 2020-01-26 16:32:22 +01:00 committed by Peter Simons
parent 3430ded6c8
commit 4141619331

View File

@ -608,6 +608,14 @@ self: super: {
(bustle: bustle.override { hgettext = null; })
(bustle: disableCabalFlag bustle "hgettext")
# Bustle specifies OtherLicense even though the code is actually LGPL
# https://gitlab.freedesktop.org/bustle/bustle/merge_requests/17
(bustle: bustle.overrideAttrs (attrs: {
meta = builtins.removeAttrs attrs.meta [ "hydraPlatforms" ] // {
license = pkgs.lib.licenses.lgpl21Plus;
};
}))
# Install icons, metadata and cli program.
(bustle: overrideCabal bustle (drv: {
buildDepends = [ pkgs.libpcap ];