nixpkgs/pkgs/applications/video/pyca/default.nix
2021-01-25 18:31:47 +01:00

30 lines
696 B
Nix

{ lib, 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 lib; {
description = "A fully functional Opencast capture agent written in Python";
homepage = "https://github.com/opencast/pyCA";
license = licenses.lgpl3;
maintainers = with maintainers; [ pmiddend ];
};
}