From 41db5e3b41d25157c58e5230906ef819d67e427d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 7 Oct 2021 20:45:13 +0200 Subject: [PATCH] python39Packages.pastescript: remove chetaah, add python namespace, add meta.maintainers, format --- .../python-modules/pastescript/default.nix | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/pastescript/default.nix b/pkgs/development/python-modules/pastescript/default.nix index 1fbc627d9a9c..bc15e5e9f2a6 100644 --- a/pkgs/development/python-modules/pastescript/default.nix +++ b/pkgs/development/python-modules/pastescript/default.nix @@ -5,27 +5,32 @@ , six , paste , pastedeploy -, cheetah }: buildPythonPackage rec { + pname = "pastescript"; version = "3.2.1"; - pname = "PasteScript"; src = fetchPypi { - inherit pname version; + pname = "PasteScript"; + inherit version; sha256 = "f3ef819785e1b284e6fc108a131bce7e740b18255d96cd2e99ee3f00fd452468"; }; - buildInputs = [ nose ]; - propagatedBuildInputs = [ six paste pastedeploy cheetah ]; + propagatedBuildInputs = [ + paste + pastedeploy + six + ]; - doCheck = false; + checkInputs = [ nose ]; + + pythonNamespaces = [ "paste" ]; meta = with lib; { description = "A pluggable command-line frontend, including commands to setup package file layouts"; homepage = "https://github.com/cdent/pastescript/"; license = licenses.mit; + maintainers = with maintainers; [ ]; }; - }