diff options
author | Eric Dallo <ericdallo06@hotmail.com> | 2019-11-07 19:21:47 -0300 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2019-11-07 17:21:47 -0500 |
commit | ccc13c2e53b58018f9f39fb8a060286f1aa2508c (patch) | |
tree | fbfe1003a0cebbb1b667e717bac4dc3405f46dbf /pkgs/tools/cd-dvd/srt-to-vtt-cl/default.nix | |
parent | 5076d18d60500ac9e6a78743181b4e8af92e2fed (diff) | |
download | nixpkgs-ccc13c2e53b58018f9f39fb8a060286f1aa2508c.tar nixpkgs-ccc13c2e53b58018f9f39fb8a060286f1aa2508c.tar.gz nixpkgs-ccc13c2e53b58018f9f39fb8a060286f1aa2508c.tar.bz2 nixpkgs-ccc13c2e53b58018f9f39fb8a060286f1aa2508c.tar.lz nixpkgs-ccc13c2e53b58018f9f39fb8a060286f1aa2508c.tar.xz nixpkgs-ccc13c2e53b58018f9f39fb8a060286f1aa2508c.tar.zst nixpkgs-ccc13c2e53b58018f9f39fb8a060286f1aa2508c.zip |
srt-vtt: init at 2019-01-03 (#70885)
* srt-vtt: init at 2019-01-03 * Append 'unstable' to pname Co-Authored-By: Marek Mahut <marek.mahut@gmail.com> * Fix version * Remove which validation * Add support to linux only Co-Authored-By: Evils-Devils <30512529+Evils-Devils@users.noreply.github.com>
Diffstat (limited to 'pkgs/tools/cd-dvd/srt-to-vtt-cl/default.nix')
-rw-r--r-- | pkgs/tools/cd-dvd/srt-to-vtt-cl/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/tools/cd-dvd/srt-to-vtt-cl/default.nix b/pkgs/tools/cd-dvd/srt-to-vtt-cl/default.nix new file mode 100644 index 00000000000..94cd09674da --- /dev/null +++ b/pkgs/tools/cd-dvd/srt-to-vtt-cl/default.nix @@ -0,0 +1,32 @@ +{ stdenv, fetchFromGitHub, substituteAll }: + +stdenv.mkDerivation rec { + pname = "srt-to-vtt-cl"; + version = "unstable-2019-01-03"; + + src = fetchFromGitHub { + owner = "nwoltman"; + repo = pname; + rev = "ce3d0776906eb847c129d99a85077b5082f74724"; + sha256 = "0qxysj08gjr6npyvg148llmwmjl2n9cyqjllfnf3gxb841dy370n"; + }; + + patches = [ + (substituteAll { + src = ./fix-validation.patch; + }) + ]; + + installPhase = '' + mkdir -p $out/bin + cp bin/$(uname -s)/$(uname -m)/srt-vtt $out/bin + ''; + + meta = with stdenv.lib; { + description = "Convert SRT files to VTT"; + license = licenses.mit; + maintainers = with maintainers; [ ericdallo ]; + homepage = https://github.com/nwoltman/srt-to-vtt-cl; + platforms = platforms.linux; + }; +} |