depot/third_party/nixpkgs/pkgs/by-name/fs/fswebcam/package.nix

23 lines
550 B
Nix
Raw Normal View History

{ 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";
mainProgram = "fswebcam";
homepage = "http://www.sanslogic.co.uk/fswebcam";
platforms = lib.platforms.linux;
license = lib.licenses.gpl2Only;
};
}