mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 00:53:57 +00:00
d6b50697f3
imv: remove broken libnsgif dependency
37 lines
834 B
Nix
37 lines
834 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
, pkg-config
|
|
, buildPackages
|
|
, buildsystem
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "netsurf-libnsgif";
|
|
version = "1.0.0";
|
|
|
|
src = fetchurl {
|
|
url = "http://download.netsurf-browser.org/libs/releases/libnsgif-${finalAttrs.version}-src.tar.gz";
|
|
hash = "sha256-YBTIQvYUVNL1oPgkPXqNe96bfaPM/cotNGx8CyxMBhs=";
|
|
};
|
|
|
|
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ buildsystem ];
|
|
|
|
makeFlags = [
|
|
"PREFIX=$(out)"
|
|
"NSSHARED=${buildsystem}/share/netsurf-buildsystem"
|
|
"BUILD_CC=$(CC_FOR_BUILD)"
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://www.netsurf-browser.org/projects/libnsgif/";
|
|
description = "GIF Decoder for netsurf browser";
|
|
license = lib.licenses.mit;
|
|
inherit (buildsystem.meta) maintainers platforms;
|
|
};
|
|
})
|