···11-{ fetchurl, stdenv, python, bash }:
11+{ stdenv, fetchFromGitHub, python, bash }:
2233-let
33+stdenv.mkDerivation rec {
44+ name = "autojump-${version}";
45 version = "22.5.1";
55-in
66- stdenv.mkDerivation rec {
77- name = "autojump-${version}";
8699- src = fetchurl {
1010- url = "http://github.com/joelthelion/autojump/archive/release-v${version}.tar.gz";
1111- name = "autojump-${version}.tar.gz";
1212- sha256 = "17z9j9936x0nizwrzf664bngh60x5qbvrrf1s5qdzd0f2gdanpvn";
1313- };
77+ src = fetchFromGitHub {
88+ owner = "wting";
99+ repo = "autojump";
1010+ rev = "release-v${version}";
1111+ sha256 = "1l1278g3k1qfrz41pkpjdhsabassb9si2d1bfbcmvbv5h3wmlqk9";
1212+ };
14131515- buildInputs = [ python bash ];
1616- dontBuild = true;
1414+ buildInputs = [ python bash ];
1515+ dontBuild = true;
17161818- installPhase = ''
1919- python ./install.py -d $out -p ""
2020- chmod +x $out/etc/profile.d/*
1717+ installPhase = ''
1818+ python ./install.py -d "$out" -p "" -z "$out/share/zsh/site-functions/"
1919+2020+ chmod +x "$out/etc/profile.d/autojump.sh"
2121+ install -Dt "$out/share/bash-completion/completions/" -m444 "$out/share/autojump/autojump.bash"
2222+ install -Dt "$out/share/fish/vendor_conf.d/" -m444 "$out/share/autojump/autojump.fish"
2323+ install -Dt "$out/share/zsh/site-functions/" -m444 "$out/share/autojump/autojump.zsh"
2424+ '';
21252222- mkdir -p "$out/etc/bash_completion.d"
2323- cp -v $out/share/autojump/autojump.bash "$out/etc/bash_completion.d"
2626+ meta = with stdenv.lib; {
2727+ description = "A `cd' command that learns";
2828+ longDescription = ''
2929+ One of the most used shell commands is “cd”. A quick survey
3030+ among my friends revealed that between 10 and 20% of all
3131+ commands they type are actually cd commands! Unfortunately,
3232+ jumping from one part of your system to another with cd
3333+ requires to enter almost the full path, which isn’t very
3434+ practical and requires a lot of keystrokes.
24352525- mkdir -p $out/share/fish/vendor_completions.d/
2626- cp -v $out/share/autojump/autojump.fish "$out/share/fish/vendor_completions.d/autojump.fish"
3636+ Autojump is a faster way to navigate your filesystem. It
3737+ works by maintaining a database of the directories you use the
3838+ most from the command line. The jstat command shows you the
3939+ current contents of the database. You need to work a little
4040+ bit before the database becomes usable. Once your database
4141+ is reasonably complete, you can “jump” to a directory by
4242+ typing "j dirspec", where dirspec is a few characters of the
4343+ directory you want to jump to. It will jump to the most used
4444+ directory whose name matches the pattern given in dirspec.
27452828- cat <<SCRIPT > $out/bin/autojump-share
2929- #!/bin/sh
3030- # Run this script to find the autojump shared folder where all the shell
3131- # integration scripts are living.
3232- echo $out/share/autojump
3333- SCRIPT
3434- chmod +x $out/bin/autojump-share
4646+ Autojump supports tab-completion.
3547 '';
3636-3737- meta = {
3838- description = "A `cd' command that learns";
3939- longDescription = ''
4040- One of the most used shell commands is “cd”. A quick survey
4141- among my friends revealed that between 10 and 20% of all
4242- commands they type are actually cd commands! Unfortunately,
4343- jumping from one part of your system to another with cd
4444- requires to enter almost the full path, which isn’t very
4545- practical and requires a lot of keystrokes.
4646-4747- Autojump is a faster way to navigate your filesystem. It
4848- works by maintaining a database of the directories you use the
4949- most from the command line. The jstat command shows you the
5050- current contents of the database. You need to work a little
5151- bit before the database becomes usable. Once your database
5252- is reasonably complete, you can “jump” to a directory by
5353- typing "j dirspec", where dirspec is a few characters of the
5454- directory you want to jump to. It will jump to the most used
5555- directory whose name matches the pattern given in dirspec.
5656-5757- Autojump supports tab-completion.
5858- '';
5959- homepage = http://wiki.github.com/joelthelion/autojump;
6060- license = stdenv.lib.licenses.gpl3;
6161- platforms = stdenv.lib.platforms.all;
6262- maintainers = [ stdenv.lib.maintainers.domenkozar ];
6363- };
6464- }
4848+ homepage = http://wiki.github.com/wting/autojump;
4949+ license = licenses.gpl3;
5050+ platforms = platforms.all;
5151+ maintainers = with maintainers; [ domenkozar yurrriq ];
5252+ };
5353+}
···11-{ stdenv, targetPlatform, fetchurl, buildPythonApplication
11+{ stdenv, targetPlatform, fetchurl, buildPythonPackage
22, zip, ffmpeg, rtmpdump, phantomjs2, atomicparsley, pycryptodome, pandoc
33# Pandoc is required to build the package's man page. Release tarballs contain a
44# formatted man page already, though, it will still be installed. We keep the
···1313, makeWrapper }:
14141515with stdenv.lib;
1616-buildPythonApplication rec {
1616+buildPythonPackage rec {
17171818 pname = "youtube-dl";
1919 version = "2018.05.18";
+4-4
pkgs/tools/networking/wireguard-go/default.nix
···2233buildGoPackage rec {
44 name = "wireguard-go-${version}";
55- version = "0.0.20180514";
55+ version = "0.0.20180519";
6677 goPackagePath = "wireguard-go";
8899 src = fetchzip {
1010 url = "https://git.zx2c4.com/wireguard-go/snapshot/wireguard-go-${version}.tar.xz";
1111- sha256 = "1i1w4vj8w353b92nfhs92k0f7fifrwi067qfmgckdk0kk76nv2id";
1111+ sha256 = "0b3wpc0ccf24567fjafv1sjs3yqq1xjam3gpfp37avxqy9789nb7";
1212 };
13131414 goDeps = ./deps.nix;
···2222 description = "Userspace Go implementation of WireGuard";
2323 homepage = https://git.zx2c4.com/wireguard-go/about/;
2424 license = licenses.gpl2;
2525- maintainers = with maintainers; [ kirelagin ];
2626- platforms = with platforms; linux ++ darwin ++ windows;
2525+ maintainers = with maintainers; [ kirelagin zx2c4 ];
2626+ platforms = platforms.darwin;
2727 };
2828}