stag: switch to fetchFromGitHub, cleanup meta

This commit is contained in:
Sandro Jäckel 2021-11-08 20:34:30 +01:00 committed by Sandro Jäckel
parent b2995f8531
commit 61b93a171c
No known key found for this signature in database
GPG key ID: B1763F8651144063

View file

@ -1,11 +1,12 @@
{ lib, stdenv, fetchgit, curses }:
{ lib, stdenv, fetchFromGitHub, curses }:
stdenv.mkDerivation {
pname = "stag";
version = "1.0";
src = fetchgit {
url = "https://github.com/seenaburns/stag.git";
src = fetchFromGitHub {
owner = "seenaburns";
repo = "stag";
rev = "90e2964959ea8242349250640d24cee3d1966ad6";
sha256 = "1yrzjhcwrxrxq5jj695wvpgb0pz047m88yq5n5ymkcw5qr78fy1v";
};
@ -16,11 +17,11 @@ stdenv.mkDerivation {
make install PREFIX=$out
'';
meta = {
meta = with lib; {
homepage = "https://github.com/seenaburns/stag";
description = "Terminal streaming bar graph passed through stdin";
license = lib.licenses.bsdOriginal;
maintainers = [ lib.maintainers.matthiasbeyer ];
platforms = lib.platforms.unix;
license = licenses.bsdOriginal;
maintainers = with maintainers; [ matthiasbeyer ];
platforms = platforms.unix;
};
}