nixpkgs/pkgs/tools/video/swftools/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

24 lines
648 B
Nix

{ stdenv, fetchurl, freetype, libjpeg, libungif, zlib }:
with stdenv.lib;
stdenv.mkDerivation rec {
pname = "swftools";
version = "0.9.2";
src = fetchurl {
url = "http://www.swftools.org/${pname}-${version}.tar.gz";
sha256 = "1w81dyi81019a6jmnm5z7fzarswng27lg1d4k4d5llxzqszr2s5z";
};
patches = [ ./swftools.patch ];
buildInputs = [ freetype libjpeg libungif zlib ];
meta = {
description = "Collection of SWF manipulation and creation utilities";
homepage = http://www.swftools.org/about.html;
license = licenses.gpl2;
maintainers = [ maintainers.koral ];
platforms = stdenv.lib.platforms.unix;
};
}