nixpkgs-suyu/pkgs/os-specific/linux/fswebcam/default.nix
2021-12-11 11:33:46 +08:00

21 lines
516 B
Nix

{ lib, stdenv, fetchurl, libv4l, gd }:
stdenv.mkDerivation rec {
pname = "fswebcam";
version = "20200725";
src = fetchurl {
url = "https://www.sanslogic.co.uk/fswebcam/files/fswebcam-${version}.tar.gz";
sha256 = "1dazsrcaw9s30zz3jpxamk9lkff5dkmflp1s0jjjvdbwa0k6k6ii";
};
buildInputs =
[ libv4l gd ];
meta = {
description = "Neat and simple webcam app";
homepage = "http://www.sanslogic.co.uk/fswebcam";
platforms = lib.platforms.linux;
license = lib.licenses.gpl2;
};
}