nixpkgs/pkgs/os-specific/linux/fswebcam/default.nix

22 lines
548 B
Nix
Raw Normal View History

2021-01-15 15:45:37 +01:00
{ lib, stdenv, fetchurl, libv4l, gd }:
2016-03-30 09:40:48 +02:00
stdenv.mkDerivation rec {
pname = "fswebcam";
version = "2020-07-25";
2016-03-30 09:40:48 +02:00
src = fetchurl {
url = "https://www.sanslogic.co.uk/fswebcam/files/fswebcam-${lib.replaceStrings ["."] [""] version}.tar.gz";
2020-08-01 12:07:10 +02:00
sha256 = "1dazsrcaw9s30zz3jpxamk9lkff5dkmflp1s0jjjvdbwa0k6k6ii";
2016-03-30 09:40:48 +02:00
};
buildInputs =
[ libv4l gd ];
meta = {
description = "Neat and simple webcam app";
homepage = "http://www.sanslogic.co.uk/fswebcam";
2021-01-15 15:45:37 +01:00
platforms = lib.platforms.linux;
license = lib.licenses.gpl2;
2016-03-30 09:40:48 +02:00
};
}