python.pkgs.pysrt: use buildPythonPackage and checkInputs
This commit is contained in:
parent
357602afaf
commit
acad55399a
@ -1,11 +1,11 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, buildPythonApplication
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, chardet
|
, chardet
|
||||||
, nose
|
, nose
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonPackage rec {
|
||||||
pname = "pysrt";
|
pname = "pysrt";
|
||||||
version = "1.1.1";
|
version = "1.1.1";
|
||||||
|
|
||||||
@ -16,7 +16,7 @@ buildPythonApplication rec {
|
|||||||
sha256 = "0rwjaf26885vxhxnas5d8zwasvj7x88y4y2pdivjd4vdcpqrqdjn";
|
sha256 = "0rwjaf26885vxhxnas5d8zwasvj7x88y4y2pdivjd4vdcpqrqdjn";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ nose ];
|
checkInputs = [ nose ];
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
nosetests -v
|
nosetests -v
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user