summary refs log tree commit diff
path: root/pkgs/tools/misc/ink
diff options
context:
space:
mode:
authorSam Bickley <samb96@gmail.com>2020-12-04 16:33:26 -0600
committerSam Bickley <samb96@gmail.com>2020-12-05 10:25:06 -0600
commit5d94f363c7790a8d2af6a476008d7e5be9323c53 (patch)
tree17b44b0f4e2c89122dca335eaafb731a2efa8c48 /pkgs/tools/misc/ink
parent17c02c8c11295f03858a17c2e0a75ca8e519c729 (diff)
downloadnixpkgs-5d94f363c7790a8d2af6a476008d7e5be9323c53.tar
nixpkgs-5d94f363c7790a8d2af6a476008d7e5be9323c53.tar.gz
nixpkgs-5d94f363c7790a8d2af6a476008d7e5be9323c53.tar.bz2
nixpkgs-5d94f363c7790a8d2af6a476008d7e5be9323c53.tar.lz
nixpkgs-5d94f363c7790a8d2af6a476008d7e5be9323c53.tar.xz
nixpkgs-5d94f363c7790a8d2af6a476008d7e5be9323c53.tar.zst
nixpkgs-5d94f363c7790a8d2af6a476008d7e5be9323c53.zip
ink: init at 0.5.3
Diffstat (limited to 'pkgs/tools/misc/ink')
-rw-r--r--pkgs/tools/misc/ink/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/misc/ink/default.nix b/pkgs/tools/misc/ink/default.nix
new file mode 100644
index 00000000000..266298d9ec2
--- /dev/null
+++ b/pkgs/tools/misc/ink/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, fetchurl, libinklevel }:
+
+stdenv.mkDerivation rec {
+  pname = "ink";
+  version = "0.5.3";
+
+  src = fetchurl {
+    url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
+    sha256 = "1fk0b8vic04a3i3vmq73hbk7mzbi57s8ks6ighn3mvr6m2v8yc9d";
+  };
+
+  buildInputs = [
+    libinklevel
+  ];
+
+  outputs = [ "out" "man" ];
+
+  meta = with stdenv.lib; {
+    description = "A command line tool for checking the ink level of your locally connected printer";
+    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.
+    '';
+    homepage = "http://ink.sourceforge.net/";
+    license = licenses.gpl2;
+    platforms = platforms.linux ++ platforms.freebsd;
+    maintainers = with maintainers; [ samb96 ];
+  };
+}