From 4150a65b17505e753d860f877588b4ec204287f2 Mon Sep 17 00:00:00 2001 From: leenaars Date: Tue, 7 Aug 2018 23:39:29 +0200 Subject: [PATCH] animbar: init at 1.2 (#44608) --- .../applications/graphics/animbar/default.nix | 40 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 42 insertions(+) create mode 100644 pkgs/applications/graphics/animbar/default.nix diff --git a/pkgs/applications/graphics/animbar/default.nix b/pkgs/applications/graphics/animbar/default.nix new file mode 100644 index 000000000000..0d6b538b1072 --- /dev/null +++ b/pkgs/applications/graphics/animbar/default.nix @@ -0,0 +1,40 @@ +{ stdenv, lib, fetchurl, cmake, qt4, file, gcc }: + +stdenv.mkDerivation rec { + pname = "animbar"; + version = "1.2"; + name = "${pname}-${version}"; + + src = fetchurl { + url = "mirror://sourceforge/${pname}/${name}.tar.bz2"; + 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 = '' + 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. + ''; + homepage = http://animbar.mnim.org; + maintainers = with maintainers; [ leenaars ]; + platforms = platforms.linux; + license = licenses.gpl3; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3bd21cbdf646..09fb1ff28c9d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15234,6 +15234,8 @@ with pkgs; android-studio = androidStudioPackages.stable; android-studio-preview = androidStudioPackages.beta; + animbar = callPackage ../applications/graphics/animbar { }; + antfs-cli = callPackage ../applications/misc/antfs-cli {}; antimony = libsForQt5.callPackage ../applications/graphics/antimony {};