2021-01-17 00:15:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, flex, bison, gperf,
|
2020-04-24 23:36:52 +00:00
|
|
|
libxml2, perl, perlPackages, gd }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-09-25 04:45:31 +00:00
|
|
|
version = "2.3.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "adms";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Qucs";
|
|
|
|
repo = "adms";
|
|
|
|
rev = "release-${version}";
|
2020-09-25 04:45:31 +00:00
|
|
|
sha256 = "0i37c9k6q1iglmzp9736rrgsnx7sw8xn3djqbbjw29zsyl3pf62c";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ flex bison gperf libxml2 perl gd perlPackages.XMLLibXML ];
|
|
|
|
configureFlags = [ "--enable-maintainer-mode" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "automatic device model synthesizer";
|
|
|
|
homepage = "https://github.com/Qucs/adms";
|
2021-01-17 00:15:33 +00:00
|
|
|
license = lib.licenses.gpl3;
|
|
|
|
maintainers = with lib.maintainers; [disassembler];
|
|
|
|
platforms = with lib.platforms; linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|