blob: 36218b6d5079610f3649019d8dba654340dbe457 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{ stdenv, fetchFromGitHub, qt4, qmake4Hook, vcg, glew }:
stdenv.mkDerivation {
name = "openbrf-2016-01-09";
src = fetchFromGitHub {
owner = "cfcohen";
repo = "openbrf";
rev = "c18d7431e1d499cee11586f4a035fb5fdc0d3330";
sha256 = "0laikpz0ljz7l5fgapwj09ygizmvj1iywnpfgfd0i14j46s134xb";
};
buildInputs = [ qt4 qmake4Hook vcg glew ];
enableParallelBuilding = true;
qmakeFlags = [ "openBrf.pro" ];
postPatch = ''
sed -i 's,^VCGLIB .*,VCGLIB = ${vcg}/include,' 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;
};
}
|