Merge pull request #50834 from plapadoo/pyca-init-2.1

pyCA: init at 2.1
This commit is contained in:
worldofpeace 2018-11-24 06:21:58 -05:00 committed by GitHub
commit 6dbf15d627
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ 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 ];
};
}

View File

@ -0,0 +1,21 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "sdnotify";
version = "0.3.2";
src = fetchPypi {
sha256 = "1wdrdg2j16pmqhk0ify20s5pngijh7zc6hyxhh8w8v5k8v3pz5vk";
inherit pname version;
};
meta = with stdenv.lib; {
description = "A pure Python implementation of systemd's service notification protocol";
homepage = https://github.com/bb4242/sdnotify;
license = licenses.mit;
maintainers = with maintainers; [ pmiddend ];
};
}

View File

@ -1581,6 +1581,8 @@ with pkgs;
parallel-rust = callPackage ../tools/misc/parallel-rust { };
pyCA = python3Packages.callPackage ../applications/video/pyca {};
scour = with python3Packages; toPythonApplication scour;
s2png = callPackage ../tools/graphics/s2png { };

View File

@ -4731,6 +4731,8 @@ in {
tvdb_api = callPackage ../development/python-modules/tvdb_api { };
sdnotify = callPackage ../development/python-modules/sdnotify { };
tvnamer = callPackage ../development/python-modules/tvnamer { };
threadpool = callPackage ../development/python-modules/threadpool { };