nixpkgs/pkgs/development/libraries/movit/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

31 lines
780 B
Nix

{ stdenv, fetchurl, SDL2, eigen, epoxy, fftw, gtest, pkgconfig }:
stdenv.mkDerivation rec {
pname = "movit";
version = "1.6.3";
src = fetchurl {
url = "https://movit.sesse.net/${pname}-${version}.tar.gz";
sha256 = "164lm5sg95ca6k546zf775g3s79mgff0az96wl6hbmlrxh4z26gb";
};
outputs = [ "out" "dev" ];
GTEST_DIR = "${gtest.src}/googletest";
propagatedBuildInputs = [ eigen epoxy ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ SDL2 fftw gtest ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "High-performance, high-quality video filters for the GPU";
homepage = https://movit.sesse.net;
license = licenses.gpl2Plus;
maintainers = [ maintainers.goibhniu ];
platforms = platforms.linux;
};
}