summary refs log tree commit diff
path: root/pkgs/applications/graphics/sane
diff options
context:
space:
mode:
authorFabian Möller <fabianm88@gmail.com>2022-01-23 21:08:10 +0100
committerFabian Möller <fabianm88@gmail.com>2022-01-23 21:08:10 +0100
commit4329d79dbab9f9ae6654c59ac428b8935eb7f7c5 (patch)
tree5b185c93081c8667de8a7cbf7bd21f6a019761fe /pkgs/applications/graphics/sane
parentfd6b95db2263e80269834e2508302de4aed025d7 (diff)
downloadnixpkgs-4329d79dbab9f9ae6654c59ac428b8935eb7f7c5.tar
nixpkgs-4329d79dbab9f9ae6654c59ac428b8935eb7f7c5.tar.gz
nixpkgs-4329d79dbab9f9ae6654c59ac428b8935eb7f7c5.tar.bz2
nixpkgs-4329d79dbab9f9ae6654c59ac428b8935eb7f7c5.tar.lz
nixpkgs-4329d79dbab9f9ae6654c59ac428b8935eb7f7c5.tar.xz
nixpkgs-4329d79dbab9f9ae6654c59ac428b8935eb7f7c5.tar.zst
nixpkgs-4329d79dbab9f9ae6654c59ac428b8935eb7f7c5.zip
nixos/tests: link tests to their packages
Diffstat (limited to 'pkgs/applications/graphics/sane')
-rw-r--r--pkgs/applications/graphics/sane/backends/brscan5/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/sane/backends/brscan5/default.nix b/pkgs/applications/graphics/sane/backends/brscan5/default.nix
index 17e9972cbe9..9771384a5d1 100644
--- a/pkgs/applications/graphics/sane/backends/brscan5/default.nix
+++ b/pkgs/applications/graphics/sane/backends/brscan5/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, fetchurl, callPackage, patchelf, makeWrapper, coreutils, libusb1, avahi-compat, glib, libredirect }:
+{ stdenv, lib, fetchurl, callPackage, patchelf, makeWrapper, coreutils, libusb1, avahi-compat, glib, libredirect, nixosTests }:
 let
   myPatchElf = file: with lib; ''
     patchelf --set-interpreter \
@@ -88,6 +88,8 @@ stdenv.mkDerivation rec {
 
   dontPatchELF = true;
 
+  passthru.tests = { inherit (nixosTests) brscan5; };
+
   meta = {
     description = "Brother brscan5 sane backend driver";
     homepage = "https://www.brother.com";