vpaint: init at 2021-01-11

This commit is contained in:
Gabriel Arazas 2022-01-11 13:08:49 +08:00
parent 0639f2e57d
commit 50dc692909
2 changed files with 28 additions and 0 deletions

View File

@ -21,4 +21,5 @@ with pkgs; {
ratt = callPackage ./ratt.nix { };
tic-80 = callPackage ./tic-80 { };
sioyek = libsForQt5.callPackage ./sioyek.nix { };
vpaint = libsForQt5.callPackage ./vpaint.nix { };
}

27
pkgs/vpaint.nix Normal file
View File

@ -0,0 +1,27 @@
{ stdenv, lib, fetchFromGitHub, libGLU, cmake, qtbase, wrapQtAppsHook }:
stdenv.mkDerivation rec {
pname = "vpaint";
version = "2022-01-11";
src = fetchFromGitHub {
owner = "dalboris";
repo = pname;
rev = "6b1bf57e3c239194443f7284adfd5c5326cd1bf2";
sha256 = "sha256-0lI+BeynkZ2RfTJmJ9pOVNQ+UcrRSi4r+6hALJ1SMss=";
};
nativeBuildInputs = [ wrapQtAppsHook cmake ];
buildInputs = [ qtbase libGLU ];
installPhase = ''
install -Dm644 src/VAC/libVAC.a -t $out/lib
install -Dm755 src/Gui/VPaint -t $out/bin
install -Dm644 ../examples/*.vec -t $out/share/${pname}/examples
'';
meta = with lib; {
description = "Experimental vector graphics and 3D animation editor";
homepage = "https://www.vpaint.org/";
};
}