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