nixpkgs/pkgs/applications/video/pyca/default.nix
2020-04-10 17:54:53 +01:00

30 lines
706 B
Nix

{ stdenv, buildPythonApplication, fetchFromGitHub, pycurl, dateutil, configobj, sqlalchemy, sdnotify, flask }:
buildPythonApplication rec {
pname = "pyca";
version = "2.1";
src = fetchFromGitHub {
owner = "opencast";
repo = "pyCA";
rev = "v${version}";
sha256 = "0cvkmdlcax9da9iw4ls73vw0pxvm8wvchab5gwdy9w9ibqdpcmwh";
};
propagatedBuildInputs = [
pycurl
dateutil
configobj
sqlalchemy
sdnotify
flask
];
meta = with stdenv.lib; {
description = "A fully functional Opencast capture agent written in Python";
homepage = "https://github.com/opencast/pyCA";
license = licenses.lgpl3;
maintainers = with maintainers; [ pmiddend ];
};
}