3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pysrt/default.nix

24 lines
507 B
Nix
Raw Normal View History

2017-05-18 10:16:40 +01:00
{ stdenv
, buildPythonApplication
, fetchurl
, chardet
}:
buildPythonApplication rec {
name = "pysrt-${version}";
version = "1.1.1";
src = fetchurl {
url = "mirror://pypi/p/pysrt/${name}.tar.gz";
sha256 = "1anhfilhamdv15w9mmzwc5a8fsri00ghkmcws4r5mz298m110k7v";
};
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";
};
}