git.iko.soy/typeable/nixpkgs
on master help sign in
caneda: git-2012-02-16 -> 0.3.1

cc #15558 Components are now part of the base install (previously it seems no components were included), which I believe mostly removes the need for the srcComponents bit. Debian is only other distro packaging this according to repology, and they don't include additional libraries which further suggests they're at least non-essential :). As for the Caneda/Libraries repository, copying these into the "libraries" directory with similar files does not cause them to be auto-registered anyway, as far as I can tell the application has a static list of components (in the source) and additional components need to be added using the GUI making bundling them a bit useless and misleading. caneda also now requires qt5 and doesn't appear to require either libxml2 or libxslt.

commit5bf645cde5ed853b5cef0ef9f612d6508cc58e26 authorWill Dietz <w@wdtz.org> dateTue 3 Oct 2017, 15:27 (9 years ago) parent05ab1e0
2 files changed+13−30
pkgs/applications/science/electronics/caneda/default.nix+12−29 pkgs/top-level/all-packages.nix+1−1
pkgs/applications/science/electronics/caneda/default.nix+12−29
@@ -1,37 +1,20 @@
1−{stdenv, fetchgit, qt4, cmake, libxml2, libxslt}:
2−
3−let
4−
5− srcComponents = fetchgit {
6− url = git://caneda.git.sourceforge.net/gitroot/caneda/components;
7− rev = "34cd36b620e0dfc57ba2d2b6168734ea9a2cfa9a";
8− sha256 = "840f07921eecbf10e38e44e5c61c716295a16c98fbb75016d9a44e7dfee40e59";
9− };
10−
11−in
1+{stdenv, fetchFromGitHub, cmake, qtbase, qttools, qtsvg, qwt }:
122
133stdenv.mkDerivation rec {
14− name = "caneda-git-2012-02-16";
15−
16− src = fetchgit {
17− url = git://caneda.git.sourceforge.net/gitroot/caneda/caneda;
18− rev = "fff9e2f7988fe5d062548cafeda1e5cd660769d1";
19− sha256 = "dfbcac97f5a1b41ad9a63392394f37fb294cbf78c576673c9bc4a5370957b2c8";
4+ name = "caneda-${version}";
5+ version = "0.3.1";
6+
7+ src = fetchFromGitHub {
8+ owner = "Caneda";
9+ repo = "Caneda";
10+ rev = version;
11+ sha256 = "0hx8qid50j9xvg2kpbpqmbdyakgyjn6m373m1cvhp70v2gp1v8l2";
2012 };
2113
22− hardeningDisable = [ "format" ];
23−
24− buildInputs = [ cmake qt4 libxml2 libxslt ];
25−
26− patches = [
27− ./gcc6.patch
28− ];
14+ nativeBuildInputs = [ cmake ];
15+ buildInputs = [ qtbase qttools qtsvg qwt ];
2916
30− postInstall = ''
31− mkdir $out/share/caneda/components
32− cp -R ${srcComponents}/* $out/share/caneda/components
33− chmod u+w -R $out/share/caneda/components
34− '';
17+ enableParallelBuilding = true;
3518
3619 meta = {
3720 description = "Open source EDA software focused on easy of use and portability";
pkgs/top-level/all-packages.nix+1−1
@@ -18618,7 +18618,7 @@ with pkgs;
1861818618
1861918619 eagle = callPackage ../applications/science/electronics/eagle { };
1862018620
18621− caneda = callPackage ../applications/science/electronics/caneda { };
18621+ caneda = libsForQt5.callPackage ../applications/science/electronics/caneda { };
1862218622
1862318623 geda = callPackage ../applications/science/electronics/geda {
1862418624 guile = guile_2_0;