nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 31 lines 655 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 weechat, 6}: 7 8stdenv.mkDerivation { 9 pname = "weechat-go"; 10 version = "2.7"; 11 12 src = fetchurl { 13 url = "https://github.com/weechat/scripts/raw/414cff3ee605ba204b607742430a21443c035b08/python/go.py"; 14 sha256 = "0bnbfpj1qg4yzwbikh1aw5ajc8l44lkb0y0m6mz8grpf5bxk5cwm"; 15 }; 16 17 dontUnpack = true; 18 19 passthru.scripts = [ "go.py" ]; 20 21 installPhase = '' 22 install -D $src $out/share/go.py 23 ''; 24 25 meta = with lib; { 26 inherit (weechat.meta) platforms; 27 description = "WeeChat script to quickly jump to different buffers"; 28 license = licenses.gpl3Plus; 29 maintainers = with maintainers; [ govanify ]; 30 }; 31}