2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, buildPythonApplication, fetchFromGitHub, pycurl, dateutil, configobj, sqlalchemy, sdnotify, flask }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A fully functional Opencast capture agent written in Python";
|
|
|
|
homepage = "https://github.com/opencast/pyCA";
|
|
|
|
license = licenses.lgpl3;
|
|
|
|
maintainers = with maintainers; [ pmiddend ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|