about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/editors/emacs/elisp-packages/youtube-dl/default.nix
blob: 7b57d69d559534f5f9a0aad4f7bf204003faca5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ lib
, stdenv
, fetchFromGitHub
, trivialBuild
, emacs
}:

trivialBuild {
  pname = "youtube-dl";
  version = "0.pre+unstable=2018-10-12";

  src = fetchFromGitHub {
    owner = "skeeto";
    repo = "youtube-dl-emacs";
    rev = "af877b5bc4f01c04fccfa7d47a2c328926f20ef4";
    sha256 = "sha256-Etl95rcoRACDPjcTPQqYK2L+w8OZbOrTrRT0JadMdH4=";
  };

  buildInputs = [ emacs ];

  meta = with lib; {
    description = "Emacs youtube-dl download manager";
    homepage = "https://github.com/skeeto/youtube-dl-emacs";
    license = licenses.unlicense;
    maintainers = with maintainers; [ leungbk ];
    inherit (emacs.meta) platforms;
  };
}