mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
25 lines
686 B
Nix
25 lines
686 B
Nix
{ stdenv, fetchsvn, cmake, opencv, qt4, giflib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "qgifer-${version}";
|
|
version = "0.2.1";
|
|
|
|
src = fetchsvn {
|
|
url = "https://svn.code.sf.net/p/qgifer/code/tags/${name}";
|
|
sha256 = "0fv40n58xjwfr06ix9ga79hs527rrzfaq1sll3n2xxchpgf3wf4f";
|
|
};
|
|
|
|
postPatch = ''
|
|
substituteInPlace CMakeLists.txt --replace "SET(CMAKE_INSTALL_PREFIX" "#"
|
|
'';
|
|
|
|
buildInputs = [ cmake opencv qt4 giflib ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Video-based animated GIF creator";
|
|
homepage = https://sourceforge.net/projects/qgifer/;
|
|
license = licenses.gpl3;
|
|
platforms = platforms.unix;
|
|
maintainers = [ maintainers.andrewrk ];
|
|
};
|
|
}
|