From c53918b6f1eaa4dc033db319b695c4e78e43c697 Mon Sep 17 00:00:00 2001 From: aszlig Date: Mon, 24 Jun 2013 08:35:03 +0200 Subject: [PATCH] python-packages: Add pykickstart version 1.99.32. Needed for blivet and this is part of Anaconda (Fedora's installation system). The reason I'm packaging this is because of blivet and because it's quite well decoupled from Anaconda itself, so it can be used for other purposes. Signed-off-by: aszlig --- pkgs/top-level/python-packages.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 376d5dc3d1a1..3df30c6dc48f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3630,6 +3630,30 @@ pythonPackages = python.modules // rec { }; + pykickstart = buildPythonPackage rec { + name = "pykickstart-${version}"; + version = "1.99.32-1"; + + src = fetchurl { + url = "https://git.fedorahosted.org/cgit/pykickstart.git/snapshot/" + + "r${version}.tar.bz2"; + sha256 = "1sq68jvc39k9wrkcc4xlabhwi8gdz019yh2k5nrl7ya35b8daqw0"; + }; + + propagatedBuildInputs = [ urlgrabber ]; + + checkPhase = '' + python tests/baseclass.py -vv + ''; + + meta = { + homepage = "http://fedoraproject.org/wiki/Pykickstart"; + description = "Read and write Fedora kickstart files"; + license = pkgs.lib.licenses.gpl2Plus; + }; + }; + + pyparsing = buildPythonPackage rec { name = "pyparsing-1.5.6";