python.pkgs.pysrt: use buildPythonPackage and checkInputs
This commit is contained in:
parent
357602afaf
commit
acad55399a
@ -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
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user