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