Merge pull request #25884 from unaizalakain/init-pysrt
pysrt: init at 1.1.1
This commit is contained in:
commit
d81683d0a4
|
@ -0,0 +1,31 @@
|
||||||
|
{ stdenv
|
||||||
|
, buildPythonApplication
|
||||||
|
, fetchFromGitHub
|
||||||
|
, chardet
|
||||||
|
, nose
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonApplication rec {
|
||||||
|
name = "pysrt-${version}";
|
||||||
|
version = "1.1.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "byroot";
|
||||||
|
repo = "pysrt";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0rwjaf26885vxhxnas5d8zwasvj7x88y4y2pdivjd4vdcpqrqdjn";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ nose ];
|
||||||
|
checkPhase = ''
|
||||||
|
nosetests -v
|
||||||
|
'';
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ chardet ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/byroot/pysrt;
|
||||||
|
license = licenses.gpl3;
|
||||||
|
description = "Python library used to edit or create SubRip files";
|
||||||
|
};
|
||||||
|
}
|
|
@ -9122,6 +9122,8 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pysrt = callPackage ../development/python-modules/pysrt { };
|
||||||
|
|
||||||
pytools = buildPythonPackage rec {
|
pytools = buildPythonPackage rec {
|
||||||
name = "pytools-${version}";
|
name = "pytools-${version}";
|
||||||
version = "2016.2.1";
|
version = "2016.2.1";
|
||||||
|
|
Loading…
Reference in New Issue