xcircuit: init at 3.9.73 (#41891)
This commit is contained in:
parent
99bce98dd6
commit
0cc4396818
31
pkgs/applications/science/electronics/xcircuit/default.nix
Normal file
31
pkgs/applications/science/electronics/xcircuit/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ stdenv, fetchurl, autoreconfHook, automake, pkgconfig
|
||||
, cairo, ghostscript, ngspice, tcl, tk, xorg, zlib }:
|
||||
|
||||
let
|
||||
version = "3.9.73";
|
||||
name = "xcircuit-${version}";
|
||||
inherit (stdenv.lib) getBin;
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
inherit name version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://opencircuitdesign.com/xcircuit/archive/${name}.tgz";
|
||||
sha256 = "1kj9hayipplzm4960kx48vxddqj154qnxkccaqj9cnkp62b7q3jg";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook automake pkgconfig ];
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
configureFlags = "--with-tcl=${tcl}/lib --with-tk=${tk}/lib --with-ngspice=${getBin ngspice}/bin/ngspice";
|
||||
|
||||
buildInputs = with xorg; [ cairo ghostscript libSM libXt libICE libX11 libXpm tcl tk zlib ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Generic drawing program tailored to circuit diagrams";
|
||||
homepage = http://opencircuitdesign.com/xcircuit;
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.spacefrogg ];
|
||||
};
|
||||
}
|
@ -20492,6 +20492,7 @@ with pkgs;
|
||||
|
||||
qucs = callPackage ../applications/science/electronics/qucs { };
|
||||
|
||||
xcircuit = callPackage ../applications/science/electronics/xcircuit { };
|
||||
|
||||
xoscope = callPackage ../applications/science/electronics/xoscope { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user