mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 05:31:22 +00:00
Merge pull request #105931 from samb96/ink-init
This commit is contained in:
commit
920b3ddb4b
|
@ -7749,6 +7749,12 @@
|
|||
github = "s1341";
|
||||
githubId = 5682183;
|
||||
};
|
||||
samb96 = {
|
||||
email = "samb96@gmail.com";
|
||||
github = "samb96";
|
||||
githubId = 819426;
|
||||
name = "Sam Bickley";
|
||||
};
|
||||
samdoshi = {
|
||||
email = "sam@metal-fish.co.uk";
|
||||
github = "samdoshi";
|
||||
|
|
35
pkgs/development/libraries/libinklevel/default.nix
Normal file
35
pkgs/development/libraries/libinklevel/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{ stdenv, fetchurl, pkg-config, libusb1 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libinklevel";
|
||||
version = "0.9.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
|
||||
sha256 = "1zwkicjznkzw81ax745inv4n29y20vq82w8249vizaal76739n19";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
pkg-config
|
||||
libusb1
|
||||
];
|
||||
|
||||
outputs = [ "out" "dev" "doc" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A library for checking the ink level of your printer";
|
||||
longDescription = ''
|
||||
Libinklevel is a library for checking the ink level of your printer on a
|
||||
system which runs Linux or FreeBSD. It supports printers attached via
|
||||
USB. Currently printers of the following brands are supported: HP, Epson
|
||||
and Canon. Canon BJNP network printers are supported too. This is not
|
||||
official software from the printer manufacturers. The goal of this
|
||||
project is to create a vendor independent API for retrieving the ink
|
||||
level of a printer connected to a Linux or FreeBSD box.
|
||||
'';
|
||||
homepage = "http://libinklevel.sourceforge.net/";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux ++ platforms.freebsd;
|
||||
maintainers = with maintainers; [ samb96 ];
|
||||
};
|
||||
}
|
28
pkgs/tools/misc/ink/default.nix
Normal file
28
pkgs/tools/misc/ink/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -2310,6 +2310,8 @@ in
|
|||
|
||||
ifm = callPackage ../tools/graphics/ifm {};
|
||||
|
||||
ink = callPackage ../tools/misc/ink { };
|
||||
|
||||
interlock = callPackage ../servers/interlock {};
|
||||
|
||||
jellyfin = callPackage ../servers/jellyfin { };
|
||||
|
@ -14016,6 +14018,8 @@ in
|
|||
|
||||
libinjection = callPackage ../development/libraries/libinjection { };
|
||||
|
||||
libinklevel = callPackage ../development/libraries/libinklevel { };
|
||||
|
||||
libnats-c = callPackage ../development/libraries/libnats-c {
|
||||
openssl = openssl_1_0_2;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue