nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 37 lines 926 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 libinklevel, 6}: 7 8stdenv.mkDerivation (finalAttrs: { 9 pname = "ink"; 10 version = "0.5.3"; 11 12 src = fetchurl { 13 url = "mirror://sourceforge/ink/ink-${finalAttrs.version}.tar.gz"; 14 sha256 = "1fk0b8vic04a3i3vmq73hbk7mzbi57s8ks6ighn3mvr6m2v8yc9d"; 15 }; 16 17 buildInputs = [ 18 libinklevel 19 ]; 20 21 outputs = [ 22 "out" 23 "man" 24 ]; 25 26 meta = { 27 description = "Command line tool for checking the ink level of your locally connected printer"; 28 longDescription = '' 29 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. 30 ''; 31 homepage = "https://ink.sourceforge.net/"; 32 license = lib.licenses.gpl2Only; 33 platforms = lib.platforms.linux ++ lib.platforms.freebsd; 34 maintainers = with lib.maintainers; [ samb96 ]; 35 mainProgram = "ink"; 36 }; 37})