mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 11:22:58 +00:00
37 lines
710 B
Nix
37 lines
710 B
Nix
|
{
|
||
|
fetchFromGitHub,
|
||
|
lib,
|
||
|
stdenv,
|
||
|
}:
|
||
|
|
||
|
stdenv.mkDerivation (finalAttrs: {
|
||
|
pname = "eta";
|
||
|
version = "1.0.1";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "aioobe";
|
||
|
repo = "eta";
|
||
|
rev = "v${finalAttrs.version}";
|
||
|
hash = "sha256-UQ8ZoxFAy5dKtXTLwPolPMd7YJeEjsK639RkGCMY6rU=";
|
||
|
};
|
||
|
|
||
|
outputs = [
|
||
|
"out"
|
||
|
"man"
|
||
|
];
|
||
|
|
||
|
makeFlags = [
|
||
|
"PREFIX=$(out)"
|
||
|
"CC=${stdenv.cc.targetPrefix}cc"
|
||
|
];
|
||
|
|
||
|
meta = {
|
||
|
description = "Tool for monitoring progress and ETA of an arbitrary process";
|
||
|
homepage = "https://github.com/aioobe/eta";
|
||
|
license = lib.licenses.gpl3Only;
|
||
|
mainProgram = "eta";
|
||
|
maintainers = with lib.maintainers; [ heisfer ];
|
||
|
platforms = lib.platforms.linux;
|
||
|
};
|
||
|
})
|