about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/science/electronics/geda/default.nix
blob: 775bae9813392848e19a943ff500e6dec09f317e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib, stdenv, fetchurl, groff, pkg-config, python2, guile, gtk2, flex, gawk, perl }:

stdenv.mkDerivation rec {
  pname = "geda";
  version = "1.10.2";

  src = fetchurl {
    url = "http://ftp.geda-project.org/geda-gaf/stable/v${lib.versions.majorMinor version}/${version}/geda-gaf-${version}.tar.gz";
    hash = "sha256-6GKrJBUoU4+jvuJzkmH1aAERArYMXjmi8DWGY8BCyKQ=";
  };

  configureFlags = [
    "--disable-update-xdg-database"
    "--without-libfam"
  ];

  nativeBuildInputs = [ groff pkg-config python2 ];
  buildInputs = [ guile gtk2 flex gawk perl ];

  meta = with lib; {
    description = "Full GPL'd suite of Electronic Design Automation tools";
    homepage = "http://www.geda-project.org/";
    maintainers = with maintainers; [ pjones ];
    platforms = platforms.linux;
    license = licenses.gpl2;
  };
}