mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
29 lines
720 B
Nix
29 lines
720 B
Nix
{ lib, stdenv, fetchFromGitHub, python3 }:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "subdl";
|
|
version = "unstable-2017-11.06";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "alexanderwink";
|
|
repo = "subdl";
|
|
rev = "4cf5789b11f0ff3f863b704b336190bf968cd471";
|
|
sha256 = "0kmk5ck1j49q4ww0lvas2767kwnzhkq0vdwkmjypdx5zkxz73fn8";
|
|
};
|
|
|
|
buildInputs = [ python3 ];
|
|
|
|
installPhase = ''
|
|
install -vD subdl $out/bin/subdl
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "https://github.com/alexanderwink/subdl";
|
|
description = "Command-line tool to download subtitles from opensubtitles.org";
|
|
platforms = lib.platforms.all;
|
|
license = lib.licenses.gpl3;
|
|
maintainers = [ lib.maintainers.exfalso ];
|
|
mainProgram = "subdl";
|
|
};
|
|
}
|