2019-06-16 19:59:06 +00:00
|
|
|
{ stdenv, lib, fetchurl, cmake, qt4, file }:
|
2018-08-07 21:39:29 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "animbar";
|
|
|
|
version = "1.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
|
2018-08-07 21:39:29 +00:00
|
|
|
sha256 = "0836nwcpyfdrapyj3hbg3wh149ihc26pc78h01adpc7c0r7d9pr9";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
buildInputs = [ qt4 file ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin $out/share/pixmaps
|
|
|
|
cp src/animbar $out/bin
|
|
|
|
cp ../icon/* $out/share/pixmaps
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Create your own animation on paper and transparancy";
|
|
|
|
longDescription = ''
|
2021-01-19 21:20:11 +00:00
|
|
|
Animbar lets you easily create your own animation on paper and
|
|
|
|
transparancy. From a set of input images two output images are
|
|
|
|
computed, that are printed one on paper and one on
|
|
|
|
transparency. By moving the transparency over the paper you
|
|
|
|
create a fascinating animation effect. This kind of animation
|
|
|
|
technique is hundreds of years old and known under several
|
|
|
|
names: picket fence animation, barrier grid animation, Moiré
|
|
|
|
animation, to name a few.
|
2018-08-07 21:39:29 +00:00
|
|
|
'';
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://animbar.mnim.org";
|
2018-08-07 21:39:29 +00:00
|
|
|
maintainers = with maintainers; [ leenaars ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
};
|
|
|
|
}
|