From acad55399aa25c852bc98c09f155ce71e76b108b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 15 Mar 2019 16:54:52 +0100 Subject: [PATCH] python.pkgs.pysrt: use buildPythonPackage and checkInputs --- pkgs/development/python-modules/pysrt/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pysrt/default.nix b/pkgs/development/python-modules/pysrt/default.nix index 882aed18c591..514ff6eb8fe1 100644 --- a/pkgs/development/python-modules/pysrt/default.nix +++ b/pkgs/development/python-modules/pysrt/default.nix @@ -1,11 +1,11 @@ { stdenv -, buildPythonApplication +, buildPythonPackage , fetchFromGitHub , chardet , nose }: -buildPythonApplication rec { +buildPythonPackage rec { pname = "pysrt"; version = "1.1.1"; @@ -16,7 +16,7 @@ buildPythonApplication rec { sha256 = "0rwjaf26885vxhxnas5d8zwasvj7x88y4y2pdivjd4vdcpqrqdjn"; }; - buildInputs = [ nose ]; + checkInputs = [ nose ]; checkPhase = '' nosetests -v '';