nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 32 lines 659 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5}: 6 7stdenv.mkDerivation { 8 pname = "weechat-zncplayback"; 9 version = "0.2.1"; 10 11 src = fetchurl { 12 url = "https://github.com/weechat/scripts/raw/bcc9643136addd2cd68ac957dd64e336e4f88aa1/python/zncplayback.py"; 13 sha256 = "1k32p6naxg40g664ip48zvm61xza7l9az3v3rawmjw97i0mwz7y3"; 14 }; 15 16 dontUnpack = true; 17 18 installPhase = '' 19 mkdir -p $out/share 20 cp $src $out/share/zncplayback.py 21 ''; 22 23 passthru = { 24 scripts = [ "zncplayback.py" ]; 25 }; 26 27 meta = with lib; { 28 description = "Add support for the ZNC Playback module"; 29 license = licenses.gpl2Plus; 30 maintainers = with maintainers; [ qyliss ]; 31 }; 32}