My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/pysrt/default.nix

31 lines
587 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, chardet
, nose
}:
buildPythonPackage rec {
pname = "pysrt";
version = "1.1.2";
src = fetchFromGitHub {
owner = "byroot";
repo = "pysrt";
rev = "v${version}";
sha256 = "1f5hxyzlh5mdvvi52qapys9qcinffr6ghgivb6k4jxa92cbs3mfg";
};
checkInputs = [ nose ];
checkPhase = ''
nosetests -v
'';
propagatedBuildInputs = [ chardet ];
meta = with lib; {
homepage = "https://github.com/byroot/pysrt";
license = licenses.gpl3;
description = "Python library used to edit or create SubRip files";
};
}