mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +00:00
vpaint: init at 2021-01-11
This commit is contained in:
parent
0639f2e57d
commit
50dc692909
@ -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
27
pkgs/vpaint.nix
Normal 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/";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user