2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, libinklevel }:
|
2020-12-09 12:39:15 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ink";
|
|
|
|
version = "0.5.3";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2024-09-19 14:19:46 +00:00
|
|
|
url = "mirror://sourceforge/ink/ink-${version}.tar.gz";
|
2020-12-09 12:39:15 +00:00
|
|
|
sha256 = "1fk0b8vic04a3i3vmq73hbk7mzbi57s8ks6ighn3mvr6m2v8yc9d";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libinklevel
|
|
|
|
];
|
|
|
|
|
|
|
|
outputs = [ "out" "man" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Command line tool for checking the ink level of your locally connected printer";
|
2020-12-09 12:39:15 +00:00
|
|
|
longDescription = ''
|
|
|
|
Ink is a command line tool for checking the ink level of your locally connected printer on a system which runs Linux or FreeBSD. Canon BJNP network printers are supported too.
|
|
|
|
'';
|
2023-02-02 18:25:31 +00:00
|
|
|
homepage = "https://ink.sourceforge.net/";
|
2024-05-15 15:35:15 +00:00
|
|
|
license = licenses.gpl2Only;
|
2020-12-09 12:39:15 +00:00
|
|
|
platforms = platforms.linux ++ platforms.freebsd;
|
|
|
|
maintainers = with maintainers; [ samb96 ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "ink";
|
2020-12-09 12:39:15 +00:00
|
|
|
};
|
|
|
|
}
|