depot/third_party/nixpkgs/pkgs/applications/science/electronics/adms/default.nix
Default email 1ae14203fc Project import generated by Copybara.
GitOrigin-RevId: 68398d2dd50efc2d878bf0f83bbc8bc323b6b0e0
2021-01-17 01:15:33 +01:00

26 lines
768 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, flex, bison, gperf,
libxml2, perl, perlPackages, gd }:
stdenv.mkDerivation rec {
version = "2.3.7";
pname = "adms";
src = fetchFromGitHub {
owner = "Qucs";
repo = "adms";
rev = "release-${version}";
sha256 = "0i37c9k6q1iglmzp9736rrgsnx7sw8xn3djqbbjw29zsyl3pf62c";
};
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";
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [disassembler];
platforms = with lib.platforms; linux;
};
}