From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: [PATCH v3 2/3] gnu: Add python-lit, python2-lit. Date: Tue, 30 Aug 2016 18:51:59 +0200 Message-ID: <20160830165200.28401-3-dannym@scratchpost.org> References: <20160803095110.3e5cf1bc@scratchpost.org> <20160830165200.28401-1-dannym@scratchpost.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34852) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bemGk-0000aI-1o for guix-devel@gnu.org; Tue, 30 Aug 2016 12:52:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bemGe-0001DB-0V for guix-devel@gnu.org; Tue, 30 Aug 2016 12:52:14 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:36461) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bemGd-0001D3-Pr for guix-devel@gnu.org; Tue, 30 Aug 2016 12:52:07 -0400 In-Reply-To: <20160830165200.28401-1-dannym@scratchpost.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/python.scm (python-lit, python2-lit): New variables. --- gnu/packages/python.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 77bb8a4..070bef4 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -10224,3 +10224,29 @@ List. Forked from and using the same API as the publicsuffix package.") (native-inputs `(("python2-setuptools" ,python2-setuptools) ,@(package-native-inputs base)))))) + +(define-public python-lit + (package + (name "python-lit") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "lit" version)) + (sha256 + (base32 + "135m2b9cwih85g66rjggavck328z7lj37srgpq3jxszbg0g2b91y")))) + (build-system python-build-system) + (home-page "http://llvm.org/") + (synopsis "LLVM Software Testing Tool") + (description "@code{lit} is a LLVM software testing tool.") + (license license:bsd-3) + (properties `((python2-variant . ,(delay python2-lit)))))) + +(define-public python2-lit + (let ((base (package-with-python2 (strip-python2-variant python-lit)))) + (package + (inherit base) + (native-inputs + `(("python2-setuptools" ,python2-setuptools) + ,@(package-native-inputs base))))))