biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / misc / brewtarget / default.nix
blobd46cf7e0d5dd3ac5b4c6de8d5607a00ff85de1c9
1 { lib
2 , mkDerivation
3 , fetchFromGitHub
4 , bash
5 , cmake
6 , boost
7 , xercesc
8 , xalanc
9 , qtbase
10 , qttools
11 , qtmultimedia
12 , qtsvg
15 mkDerivation rec {
16   pname = "brewtarget";
17   version = "3.0.5";
19   src = fetchFromGitHub {
20     owner = "Brewtarget";
21     repo = pname;
22     rev = "v${version}";
23     sha256 = "sha256-PqaiZ2eLH8+qRRkIolnQClTL9O9EgHMqFH/nUffosV8=";
24   };
26   nativeBuildInputs = [ cmake boost xercesc xalanc ];
27   buildInputs = [ qtbase qttools qtmultimedia qtsvg ];
29   preConfigure = ''
30     chmod +x configure
31     substituteInPlace configure --replace /bin/bash "${bash}/bin/bash"
32   '';
34   meta = with lib; {
35     description = "Open source beer recipe creation tool";
36     mainProgram = "brewtarget";
37     homepage = "http://www.brewtarget.org/";
38     license = licenses.gpl3;
39     maintainers = [ maintainers.mmahut ];
40   };