about summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorUnai Zalakain <unai@gisa-elkartea.org>2017-05-18 11:16:40 +0200
committerUnai Zalakain <unai@gisa-elkartea.org>2017-05-20 10:56:42 +0200
commit610c27ca64ec28e4a1851406c45f75cea78d4422 (patch)
tree7bb1e8b5296b3b6e0b936a3777df3809b1373360 /pkgs/development/python-modules
parentafec912d81e08339868e0e1e84234e6ed7f6b3fd (diff)
downloadnixlib-610c27ca64ec28e4a1851406c45f75cea78d4422.tar
nixlib-610c27ca64ec28e4a1851406c45f75cea78d4422.tar.gz
nixlib-610c27ca64ec28e4a1851406c45f75cea78d4422.tar.bz2
nixlib-610c27ca64ec28e4a1851406c45f75cea78d4422.tar.lz
nixlib-610c27ca64ec28e4a1851406c45f75cea78d4422.tar.xz
nixlib-610c27ca64ec28e4a1851406c45f75cea78d4422.tar.zst
nixlib-610c27ca64ec28e4a1851406c45f75cea78d4422.zip
pysrt: init at 1.1.1
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/pysrt/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pysrt/default.nix b/pkgs/development/python-modules/pysrt/default.nix
new file mode 100644
index 000000000000..49b93eabde78
--- /dev/null
+++ b/pkgs/development/python-modules/pysrt/default.nix
@@ -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";
+  };
+}