nixpkgs-suyu/pkgs/applications/science/electronics/caneda/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

25 lines
682 B
Nix

{ mkDerivation, lib, fetchFromGitHub, cmake, qtbase, qttools, qtsvg, qwt6_1}:
mkDerivation rec {
pname = "caneda";
version = "0.3.1";
src = fetchFromGitHub {
owner = "Caneda";
repo = "Caneda";
rev = version;
sha256 = "0hx8qid50j9xvg2kpbpqmbdyakgyjn6m373m1cvhp70v2gp1v8l2";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ qtbase qttools qtsvg qwt6_1 ];
meta = {
description = "Open source EDA software focused on easy of use and portability";
mainProgram = "caneda";
homepage = "http://caneda.org";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [viric];
platforms = with lib.platforms; linux;
};
}