mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
48 lines
953 B
Nix
48 lines
953 B
Nix
|
{ stdenv
|
||
|
, lib
|
||
|
, meson
|
||
|
, ninja
|
||
|
, fetchFromGitLab
|
||
|
, pkg-config
|
||
|
, glib
|
||
|
, docbook_xsl
|
||
|
, sane-backends
|
||
|
, gobject-introspection
|
||
|
, vala
|
||
|
, gtk-doc
|
||
|
, valgrind
|
||
|
, doxygen
|
||
|
, cunit
|
||
|
}:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
pname = "libinsane";
|
||
|
version = "1.0.3";
|
||
|
|
||
|
outputs = [ "out" "dev" "devdoc" ];
|
||
|
|
||
|
src = fetchFromGitLab {
|
||
|
domain = "gitlab.gnome.org";
|
||
|
repo = "libinsane";
|
||
|
group = "World";
|
||
|
owner = "OpenPaperwork";
|
||
|
rev = version;
|
||
|
sha256 = "1x2pl4ahqjc6ql97v7fnyna0qrnw3bxmqg3lyi5biyajfhg9nvql";
|
||
|
};
|
||
|
|
||
|
nativeBuildInputs = [ meson pkg-config ninja doxygen gtk-doc docbook_xsl gobject-introspection vala ];
|
||
|
|
||
|
buildInputs = [ sane-backends glib ];
|
||
|
|
||
|
checkInputs = [ cunit valgrind ];
|
||
|
|
||
|
doCheck = true;
|
||
|
|
||
|
meta = {
|
||
|
description = "Crossplatform access to image scanners (paper eaters only)";
|
||
|
homepage = "https://openpaper.work/en/projects/";
|
||
|
license = lib.licenses.lgpl3Plus;
|
||
|
maintainers = [ lib.maintainers.symphorien ];
|
||
|
};
|
||
|
}
|