mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
pysrt: init at 1.1.1
This commit is contained in:
parent
afec912d81
commit
610c27ca64
2 changed files with 25 additions and 0 deletions
23
pkgs/development/python-modules/pysrt/default.nix
Normal file
23
pkgs/development/python-modules/pysrt/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ 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";
|
||||
};
|
||||
}
|
|
@ -9148,6 +9148,8 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
pysrt = callPackage ../development/python-modules/pysrt { };
|
||||
|
||||
pytools = buildPythonPackage rec {
|
||||
name = "pytools-${version}";
|
||||
version = "2016.2.1";
|
||||
|
|
Loading…
Reference in a new issue