Merge pull request #65253 from mmahut/brewtarget

brewtarget: init at 2.3.1
This commit is contained in:
worldofpeace 2019-07-22 13:07:56 -04:00 committed by GitHub
commit 0c9acb1926
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,38 @@
{ lib
, mkDerivation
, fetchFromGitHub
, bash
, cmake
, qtbase
, qttools
, qtmultimedia
, qtwebkit
, qtsvg
}:
mkDerivation rec {
pname = "brewtarget";
version = "2.3.1";
src = fetchFromGitHub {
owner = "Brewtarget";
repo = pname;
rev = "v${version}";
sha256 = "14xmm6f8xmvypagx4qdw8q9llzmyi9zzfhnzh4kbbflhjbcr7isz";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ qtbase qttools qtmultimedia qtwebkit qtsvg ];
preConfigure = ''
chmod +x configure
substituteInPlace configure --replace /bin/bash "${bash}/bin/bash"
'';
meta = with lib; {
description = "Open source beer recipe creation tool";
homepage = "http://www.brewtarget.org/";
license = licenses.gpl3;
maintainers = [ maintainers.mmahut ];
};
}

View File

@ -663,6 +663,8 @@ in
brakeman = callPackage ../development/tools/analysis/brakeman { };
brewtarget = libsForQt5.callPackage ../applications/misc/brewtarget { } ;
ec2_api_tools = callPackage ../tools/virtualization/ec2-api-tools { };
ec2_ami_tools = callPackage ../tools/virtualization/ec2-ami-tools { };