nixpkgs/pkgs/applications/science/electronics/librepcb/default.nix

28 lines
699 B
Nix
Raw Normal View History

{ stdenv, lib, fetchFromGitHub
2021-11-06 16:35:58 +00:00
, qtbase, qttools, cmake, wrapQtAppsHook
}:
stdenv.mkDerivation rec {
pname = "librepcb";
2021-11-06 16:35:58 +00:00
version = "0.1.6";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
2021-11-06 16:35:58 +00:00
sha256 = "0gzf3asdgdicpikb412134ybqnbbark948yrfhvba2w4i9cwbk2r";
fetchSubmodules = true;
};
2021-11-06 16:35:58 +00:00
nativeBuildInputs = [ cmake qttools wrapQtAppsHook ];
buildInputs = [ qtbase ];
meta = with lib; {
description = "A free EDA software to develop printed circuit boards";
homepage = "https://librepcb.org/";
maintainers = with maintainers; [ luz thoughtpolice ];
license = licenses.gpl3Plus;
platforms = platforms.linux;
};
}