openbrf: init at 2016-01-09
This commit is contained in:
parent
0418733737
commit
18c3420579
36
pkgs/applications/misc/openbrf/default.nix
Normal file
36
pkgs/applications/misc/openbrf/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ stdenv, fetchFromGitHub, qt4, vcg, glew }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "openbrf-2016-01-09";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cfcohen";
|
||||
repo = "openbrf";
|
||||
rev = "c18d7431e1d499cee11586f4a035fb5fdc0d3330";
|
||||
sha256 = "0laikpz0ljz7l5fgapwj09ygizmvj1iywnpfgfd0i14j46s134xb";
|
||||
};
|
||||
|
||||
buildInputs = [ qt4 vcg glew ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
postPatch = ''
|
||||
sed -i 's,^VCGLIB .*,VCGLIB = ${vcg}/include,' openBrf.pro
|
||||
'';
|
||||
|
||||
configurePhase = ''
|
||||
qmake PREFIX=$out openBrf.pro
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 openBrf $out/bin/openBrf
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A tool to edit resource files (BRF)";
|
||||
homepage = https://github.com/cfcohen/openbrf;
|
||||
maintainers = with stdenv.lib.maintainers; [ abbradar ];
|
||||
license = licenses.free;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -12997,6 +12997,8 @@ let
|
|||
|
||||
openbox-menu = callPackage ../applications/misc/openbox-menu { };
|
||||
|
||||
openbrf = callPackage ../applications/misc/openbrf { };
|
||||
|
||||
openimageio = callPackage ../applications/graphics/openimageio { };
|
||||
|
||||
openjump = callPackage ../applications/misc/openjump { };
|
||||
|
|
Loading…
Reference in a new issue