2018-11-19 10:52:23 +01:00
|
|
|
{ stdenv, fetchurl, SDL2, eigen, epoxy, fftw, gtest, pkgconfig }:
|
2014-07-27 12:17:10 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "movit";
|
2019-07-09 09:14:56 +02:00
|
|
|
version = "1.6.3";
|
2014-07-27 12:17:10 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "https://movit.sesse.net/${pname}-${version}.tar.gz";
|
2019-07-09 09:14:56 +02:00
|
|
|
sha256 = "164lm5sg95ca6k546zf775g3s79mgff0az96wl6hbmlrxh4z26gb";
|
2014-07-27 12:17:10 +02:00
|
|
|
};
|
|
|
|
|
2016-10-02 19:22:29 +02:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2018-11-19 10:52:23 +01:00
|
|
|
GTEST_DIR = "${gtest.src}/googletest";
|
2014-07-27 12:17:10 +02:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ eigen epoxy ];
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2018-11-19 10:52:23 +01:00
|
|
|
buildInputs = [ SDL2 fftw gtest ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2014-07-27 12:17:10 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "High-performance, high-quality video filters for the GPU";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://movit.sesse.net";
|
2014-07-27 12:17:10 +02:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|