qcsxcad: init at unstable-2020-01-04
This commit is contained in:
parent
d6a445fe82
commit
dad6b637c2
50
pkgs/applications/science/electronics/qcsxcad/default.nix
Normal file
50
pkgs/applications/science/electronics/qcsxcad/default.nix
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
{ stdenv
|
||||||
|
, mkDerivation
|
||||||
|
, fetchFromGitHub
|
||||||
|
, cmake
|
||||||
|
, csxcad
|
||||||
|
, tinyxml
|
||||||
|
, vtkWithQt5
|
||||||
|
, wrapQtAppsHook
|
||||||
|
, qtbase
|
||||||
|
}:
|
||||||
|
|
||||||
|
mkDerivation {
|
||||||
|
pname = "qcsxcad";
|
||||||
|
version = "unstable-2020-01-04";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "thliebig";
|
||||||
|
repo = "QCSXCAD";
|
||||||
|
rev = "0dabbaf2bc1190adec300871cf309791af842c8e";
|
||||||
|
sha256 = "11kbh0mxbdfh7s5azqin3i2alic5ihmdfj0jwgnrhlpjk4cbf9rn";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
wrapQtAppsHook
|
||||||
|
];
|
||||||
|
|
||||||
|
cmakeFlags = [
|
||||||
|
"-DCMAKE_INSTALL_PREFIX=${placeholder "out"}"
|
||||||
|
"-DCSXCAD_ROOT_DIR=${csxcad}"
|
||||||
|
"-DENABLE_RPATH=OFF"
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
csxcad
|
||||||
|
tinyxml
|
||||||
|
vtkWithQt5
|
||||||
|
qtbase
|
||||||
|
];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Qt library for CSXCAD";
|
||||||
|
homepage = "https://github.com/thliebig/QCSXCAD";
|
||||||
|
license = licenses.gpl3;
|
||||||
|
maintainers = with maintainers; [ matthuszagh ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -25782,6 +25782,10 @@ in
|
|||||||
|
|
||||||
pcb = callPackage ../applications/science/electronics/pcb { };
|
pcb = callPackage ../applications/science/electronics/pcb { };
|
||||||
|
|
||||||
|
qcsxcad = libsForQt5.callPackage ../applications/science/electronics/qcsxcad {
|
||||||
|
inherit (qt5) wrapQtAppsHook qtbase;
|
||||||
|
};
|
||||||
|
|
||||||
qucs = callPackage ../applications/science/electronics/qucs { };
|
qucs = callPackage ../applications/science/electronics/qucs { };
|
||||||
|
|
||||||
xcircuit = callPackage ../applications/science/electronics/xcircuit { };
|
xcircuit = callPackage ../applications/science/electronics/xcircuit { };
|
||||||
|
Loading…
Reference in New Issue
Block a user