Add none working mytop
Installation / compilation works, but execution is broken. See comment within the default.nix file.
This commit is contained in:
parent
00b8f205e4
commit
d00eb968a4
1
home.nix
1
home.nix
|
@ -48,6 +48,7 @@
|
|||
pkgs.litecli
|
||||
pkgs.sqlite
|
||||
pkgs.mycli
|
||||
# pkgs.mytop
|
||||
pkgs.robo3t
|
||||
pkgs.mkcert
|
||||
pkgs.tig
|
||||
|
|
28
overlays/mytop/default.nix
Normal file
28
overlays/mytop/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
self: super: {
|
||||
mytop = super.pkgs.perlPackages.buildPerlPackage rec {
|
||||
pname = "mytop";
|
||||
version = "1.6";
|
||||
|
||||
src = super.pkgs.fetchurl {
|
||||
url = "https://jeremy.zawodny.com/mysql/${pname}/${pname}-${version}.tar.gz";
|
||||
sha256 = "b17c702598b10bb0ce2695f609122637c799eaaaec1afaa73246b048f07be9bd";
|
||||
};
|
||||
|
||||
# TODO: Builds, but is not executable
|
||||
# I've no clue of perl, never used it.
|
||||
# Error when executing:
|
||||
# Can't locate DBI.pm in @INC (you may need to install the DBI module)
|
||||
# Didn't find anything relating dbi for perl in nixpks.
|
||||
# It self explaines: runs on most Unix systems which have Perl, DBI, and Term::ReadKey installed. And with Term::ANSIColor installed you even get color.
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
];
|
||||
|
||||
meta = with super.lib; {
|
||||
description = "A top clone for MySQL";
|
||||
homepage = "https://jeremy.zawodny.com/mysql/mytop/";
|
||||
license = licenses.gpl2Only;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -95,10 +95,6 @@ No particular order:
|
|||
|
||||
* Migrate neovim
|
||||
|
||||
* Add derivation for things that don't exist yet:
|
||||
|
||||
* mytop
|
||||
|
||||
* Migrate ssh config (I don't really like to expose customer server names and configs to outer world, how to handle?)
|
||||
|
||||
* Migrate PGP?
|
||||
|
|
Loading…
Reference in a new issue