From 01fc3e0525c6c6c20cbd0b8f40e9a939505a5e36 Mon Sep 17 00:00:00 2001 From: Venkateswara Rao Mandela Date: Thu, 22 Jan 2015 22:47:41 +0530 Subject: grabserial: add package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [Bjørn: * buildInputs -> propagatedBuildInputs, so pyserial is found at runtime * whitespace fix (add missing whitespace inside curly bracket) ] --- lib/maintainers.nix | 1 + pkgs/development/tools/grabserial/default.nix | 22 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 3 files changed, 25 insertions(+) create mode 100644 pkgs/development/tools/grabserial/default.nix diff --git a/lib/maintainers.nix b/lib/maintainers.nix index 4f20986e6b3..e3095bdb497 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -180,6 +180,7 @@ viric = "Lluís Batlle i Rossell "; vizanto = "Danny Wilson "; vlstill = "Vladimír Štill "; + vmandela = "Venkateswara Rao Mandela "; vozz = "Oliver Hunt "; winden = "Antonio Vargas Gonzalez "; wizeman = "Ricardo M. Correia "; diff --git a/pkgs/development/tools/grabserial/default.nix b/pkgs/development/tools/grabserial/default.nix new file mode 100644 index 00000000000..59b7bdb248e --- /dev/null +++ b/pkgs/development/tools/grabserial/default.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchgit, buildPythonPackage, pythonPackages }: + +buildPythonPackage rec { + + name = "grabserial-20141120"; + + src = fetchgit { + url = https://github.com/tbird20d/grabserial.git; + rev = "8b9c98ea35d382bac2aafc7a8a9c02440369a792"; + sha256 = "ff27f5e5ab38c8450a4a0291e943e6c5a265e56d29d6a1caa849ae3238d71679"; + }; + + propagatedBuildInputs = [ pythonPackages.pyserial ]; + + meta = { + description = "Python based serial dump and timing program"; + homepage = https://github.com/tbird20d/grabserial; + license = stdenv.lib.licenses.gpl2; + maintainers = with stdenv.lib.maintainers; [ vmandela ]; + platforms = stdenv.lib.platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 19b29ee87bd..2d59b88c577 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5002,6 +5002,8 @@ let winpdb = callPackage ../development/tools/winpdb { }; + grabserial = callPackage ../development/tools/grabserial { }; + ### DEVELOPMENT / LIBRARIES -- cgit 1.4.1