Merge pull request #50834 from plapadoo/pyca-init-2.1
pyCA: init at 2.1
This commit is contained in:
commit
6dbf15d627
30
pkgs/applications/video/pyca/default.nix
Normal file
30
pkgs/applications/video/pyca/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
|
21
pkgs/development/python-modules/sdnotify/default.nix
Normal file
21
pkgs/development/python-modules/sdnotify/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user