depot/third_party/nixpkgs/pkgs/by-name/qs/qspeakers/package.nix

35 lines
712 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, libsForQt5
}:
stdenv.mkDerivation (finalAttrs: {
pname = "qspeakers";
version = "1.6.9";
src = fetchFromGitHub {
owner = "be1";
repo = "qspeakers";
rev = "refs/tags/${finalAttrs.version}";
hash = "sha256-V4rcDUJU27ijzsc6zhsEiQ/7SdvHmGR2402iIazrMfE=";
};
nativeBuildInputs = [
libsForQt5.qmake
libsForQt5.wrapQtAppsHook
];
buildInputs = [
libsForQt5.qtcharts
libsForQt5.qttools
];
meta = {
description = "Loudspeaker enclosure designer";
homepage = "https://github.com/be1/qspeakers";
license = lib.licenses.gpl3Plus;
mainProgram = "qspeakers";
maintainers = with lib.maintainers; [ tomasajt ];
};
})