at 22.05-pre 30 lines 788 B view raw
1{ lib, stdenv, fetchurl, SDL2, eigen, libepoxy, fftw, gtest, pkg-config }: 2 3stdenv.mkDerivation rec { 4 pname = "movit"; 5 version = "1.6.3"; 6 7 src = fetchurl { 8 url = "https://movit.sesse.net/${pname}-${version}.tar.gz"; 9 sha256 = "164lm5sg95ca6k546zf775g3s79mgff0az96wl6hbmlrxh4z26gb"; 10 }; 11 12 outputs = [ "out" "dev" ]; 13 14 GTEST_DIR = "${gtest.src}/googletest"; 15 16 propagatedBuildInputs = [ eigen libepoxy ]; 17 18 nativeBuildInputs = [ pkg-config ]; 19 buildInputs = [ SDL2 fftw gtest ]; 20 21 enableParallelBuilding = true; 22 23 meta = with lib; { 24 description = "High-performance, high-quality video filters for the GPU"; 25 homepage = "https://movit.sesse.net"; 26 license = licenses.gpl2Plus; 27 maintainers = [ maintainers.goibhniu ]; 28 platforms = platforms.linux; 29 }; 30}