about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/networking/irc/weechat/scripts/zncplayback/default.nix
blob: dcd74c0da0e848e77d182f5a0dc9c7578de6fb4a (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
29
30
{ stdenv, lib, fetchurl }:

stdenv.mkDerivation {
  pname = "weechat-zncplayback";
  version = "0.1.0";

  src = fetchurl {
    url = "https://github.com/weechat/scripts/raw/643afdd25d29c2614cd67deb2388683cc270d686/python/zncplayback.py";
    sha256 = "1mz9pmnrqv2pjk4wz9yp1bic49m8qbf4nh7pg4j7vghmpq9srkd9";
  };

  unpackPhase = ''
    :
  '';

  installPhase = ''
    mkdir -p $out/share
    cp $src $out/share/zncplayback.py
  '';

  passthru = {
    scripts = [ "zncplayback.py" ];
  };

  meta = with lib; {
    description = "Add support for the ZNC Playback module";
    licenses = licenses.gpl2Plus;
    maintainers = with maintainers; [ qyliss ];
  };
}