From df1d5a482736a96075eced4a936a1c6774bad128 Mon Sep 17 00:00:00 2001 From: Samuel Leathers Date: Sun, 3 Sep 2017 14:21:16 -0400 Subject: [PATCH] adms: init at 2.3.6 --- .../science/electronics/adms/default.nix | 25 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 3 +++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/applications/science/electronics/adms/default.nix diff --git a/pkgs/applications/science/electronics/adms/default.nix b/pkgs/applications/science/electronics/adms/default.nix new file mode 100644 index 000000000000..d4ec974007cf --- /dev/null +++ b/pkgs/applications/science/electronics/adms/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchFromGitHub, libtool, autoreconfHook, flex, bison, gperf, + libxml2, perl, perlPackages, gd }: + +stdenv.mkDerivation rec { + version = "2.3.6"; + name = "adms-${version}"; + + src = fetchFromGitHub { + owner = "Qucs"; + repo = "adms"; + rev = "release-${version}"; + sha256 = "1pcwq5khzdq4x33lid9hq967gv78dr5i4f2sk8m8rwkfqb9vdzrg"; + }; + + buildInputs = [ autoreconfHook 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 = stdenv.lib.licenses.gpl3; + maintainers = with stdenv.lib.maintainers; [disassembler]; + platforms = with stdenv.lib.platforms; linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 05663bb8977b..ce1177c2facb 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -18409,6 +18409,8 @@ with pkgs; ### SCIENCE / ELECTRONICS + adms = callPackage ../applications/science/electronics/adms { }; + eagle = callPackage ../applications/science/electronics/eagle { }; caneda = callPackage ../applications/science/electronics/caneda { }; @@ -18432,6 +18434,7 @@ with pkgs; qucs = callPackage ../applications/science/electronics/qucs { }; + xoscope = callPackage ../applications/science/electronics/xoscope { };