Merge pull request #25884 from unaizalakain/init-pysrt

pysrt: init at 1.1.1
This commit is contained in:
Jörg Thalheim 2017-05-21 09:22:46 +01:00 committed by GitHub
commit d81683d0a4
2 changed files with 33 additions and 0 deletions

View file

@ -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";
};
}

View file

@ -9122,6 +9122,8 @@ in {
};
};
pysrt = callPackage ../development/python-modules/pysrt { };
pytools = buildPythonPackage rec {
name = "pytools-${version}";
version = "2016.2.1";