nixpkgs/pkgs/applications/science/electronics/adms/default.nix

27 lines
784 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, autoreconfHook, flex, bison, gperf,
2017-09-03 19:21:16 +01:00
libxml2, perl, perlPackages, gd }:
stdenv.mkDerivation rec {
2020-08-21 06:06:22 +01:00
version = "2.3.7";
pname = "adms";
2017-09-03 19:21:16 +01:00
src = fetchFromGitHub {
owner = "Qucs";
repo = "adms";
rev = "release-${version}";
2020-08-21 06:06:22 +01:00
sha256 = "0i37c9k6q1iglmzp9736rrgsnx7sw8xn3djqbbjw29zsyl3pf62c";
2017-09-03 19:21:16 +01:00
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ flex bison gperf libxml2 perl gd perlPackages.XMLLibXML ];
2017-09-03 19:21:16 +01:00
configureFlags = [ "--enable-maintainer-mode" ];
meta = {
description = "automatic device model synthesizer";
homepage = "https://github.com/Qucs/adms";
2017-09-03 19:21:16 +01:00
license = stdenv.lib.licenses.gpl3;
maintainers = with stdenv.lib.maintainers; [disassembler];
platforms = with stdenv.lib.platforms; linux;
};
}