stag: switch to fetchFromGitHub, cleanup meta

authored by

Sandro Jäckel and committed by
Sandro Jäckel
61b93a17 b2995f85

+8 -7
+8 -7
pkgs/applications/misc/stag/default.nix
··· 1 - { lib, stdenv, fetchgit, curses }: 1 + { lib, stdenv, fetchFromGitHub, curses }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "stag"; 5 5 version = "1.0"; 6 6 7 - src = fetchgit { 8 - url = "https://github.com/seenaburns/stag.git"; 7 + src = fetchFromGitHub { 8 + owner = "seenaburns"; 9 + repo = "stag"; 9 10 rev = "90e2964959ea8242349250640d24cee3d1966ad6"; 10 11 sha256 = "1yrzjhcwrxrxq5jj695wvpgb0pz047m88yq5n5ymkcw5qr78fy1v"; 11 12 }; ··· 16 17 make install PREFIX=$out 17 18 ''; 18 19 19 - meta = { 20 + meta = with lib; { 20 21 homepage = "https://github.com/seenaburns/stag"; 21 22 description = "Terminal streaming bar graph passed through stdin"; 22 - license = lib.licenses.bsdOriginal; 23 - maintainers = [ lib.maintainers.matthiasbeyer ]; 24 - platforms = lib.platforms.unix; 23 + license = licenses.bsdOriginal; 24 + maintainers = with maintainers; [ matthiasbeyer ]; 25 + platforms = platforms.unix; 25 26 }; 26 27 }