stag: switch to fetchFromGitHub, cleanup meta
This commit is contained in:
parent
b2995f8531
commit
61b93a171c
1 changed files with 8 additions and 7 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue