awesomebump: Add
This commit is contained in:
parent
fd45c7b82b
commit
b797a67ffb
39
pkgs/applications/graphics/awesomebump/default.nix
Normal file
39
pkgs/applications/graphics/awesomebump/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{ lib, stdenv, fetchurl, qt5, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "awesomebump-4.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = https://github.com/kmkolasinski/AwesomeBump/archive/Linuxv4.0.tar.gz;
|
||||
sha256 = "1rp4m4y2ld49hibzwqwy214cbiin80i882d9l0y1znknkdcclxf2";
|
||||
};
|
||||
|
||||
setSourceRoot = "sourceRoot=$(echo */Sources)";
|
||||
|
||||
buildInputs = [ qt5.base makeWrapper ];
|
||||
|
||||
preBuild = "qmake";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
installPhase =
|
||||
''
|
||||
d=$out/libexec/AwesomeBump
|
||||
mkdir -p $d $out/bin
|
||||
cp AwesomeBump $d/
|
||||
cp -prd ../Bin/Configs ../Bin/Core $d/
|
||||
|
||||
# AwesomeBump expects to find Core and Configs in its current
|
||||
# directory.
|
||||
makeWrapper $d/AwesomeBump $out/bin/AwesomeBump \
|
||||
--run "cd $d"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/kmkolasinski/AwesomeBump;
|
||||
description = "A program to generate normal, height, specular or ambient occlusion textures from a single image";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = [ lib.maintainers.eelco ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
@ -11092,6 +11092,8 @@ let
|
||||
};
|
||||
awesome = awesome-3-5;
|
||||
|
||||
awesomebump = callPackage ../applications/graphics/awesomebump { };
|
||||
|
||||
inherit (gnome3) baobab;
|
||||
|
||||
backintime-common = callPackage ../applications/networking/sync/backintime/common.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user