3
0
Fork 0
forked from mirrors/nixpkgs

python.pkgs.pysrt: use buildPythonPackage and checkInputs

This commit is contained in:
Robert Schütz 2019-03-15 16:54:52 +01:00
parent 357602afaf
commit acad55399a

View file

@ -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
'';