kmon: 1.5.5 -> 1.6.0, clarify license
This commit is contained in:
parent
933da575d4
commit
b427f9a5bf
|
@ -1,31 +1,32 @@
|
||||||
{ lib, fetchFromGitHub, rustPlatform, python3, libxcb }:
|
{ lib, rustPlatform, fetchFromGitHub, installShellFiles, python3, libxcb }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "kmon";
|
pname = "kmon";
|
||||||
version = "1.5.5";
|
version = "1.6.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "orhun";
|
owner = "orhun";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-x4P9p2zXthGtokfKcWR/xaX/E7a9mEuQiK6cjFw4nS8=";
|
sha256 = "sha256-0sjRTbTLtBUTyx6+HnihL9TggoeIOqX9zKRaXjBUfE0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-ZAHp7eR2pu+xEP9NZOLoczEF8QSFA5Z/8bKsCYqk4Ww=";
|
cargoSha256 = "sha256-QMJ3Rpgcfrza2zFiA5LFBuYedn+VnffzpyzAGeC0PSM=";
|
||||||
|
|
||||||
nativeBuildInputs = [ python3 ];
|
nativeBuildInputs = [ installShellFiles python3 ];
|
||||||
|
|
||||||
buildInputs = [ libxcb ];
|
buildInputs = [ libxcb ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
install -D man/kmon.8 -t $out/share/man/man8/
|
installManPage man/kmon.8
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Linux Kernel Manager and Activity Monitor";
|
description = "Linux Kernel Manager and Activity Monitor";
|
||||||
homepage = "https://github.com/orhun/kmon";
|
homepage = "https://github.com/orhun/kmon";
|
||||||
license = with licenses; [ gpl3 ];
|
changelog = "https://github.com/orhun/kmon/blob/v${version}/CHANGELOG.md";
|
||||||
|
license = licenses.gpl3Only;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ misuzu ];
|
maintainers = with maintainers; [ figsoda misuzu ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue