mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 09:34:36 +00:00
commit
eb38da8fba
@ -1,59 +1,52 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, aiodns
|
, fetchFromGitLab
|
||||||
, buildPythonApplication
|
|
||||||
, cffi
|
|
||||||
, fetchFromGitHub
|
|
||||||
, mpd2
|
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, potr
|
, python3
|
||||||
, pyasn1
|
|
||||||
, pyasn1-modules
|
|
||||||
, pyinotify
|
|
||||||
, pytestCheckHook
|
|
||||||
, pythonOlder
|
|
||||||
, setuptools
|
|
||||||
, slixmpp
|
|
||||||
, typing-extensions
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "poezio";
|
pname = "poezio";
|
||||||
version = "0.13.1";
|
version = "0.13.1";
|
||||||
disabled = pythonOlder "3.4";
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitLab {
|
||||||
|
domain = "lab.louiz.org";
|
||||||
owner = pname;
|
owner = pname;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "041y61pcbdb86s04qwp8s1g6bp84yskc7vdizwpi2hz18y01x5fy";
|
sha256 = "sha256-3pUegEfhQxEv/7Htw6b2BN1lXtDockyANmi1xW4wPhA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
pkg-config
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
aiodns
|
aiodns
|
||||||
cffi
|
cffi
|
||||||
mpd2
|
mpd2
|
||||||
potr
|
potr
|
||||||
pyasn1
|
pyasn1
|
||||||
pyasn1-modules
|
pyasn1-modules
|
||||||
|
pycares
|
||||||
pyinotify
|
pyinotify
|
||||||
setuptools
|
|
||||||
slixmpp
|
slixmpp
|
||||||
] ++ lib.optionals (pythonOlder "3.7") [
|
|
||||||
typing-extensions
|
typing-extensions
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = with python3.pkgs; [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"poezio"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Free console XMPP client";
|
description = "Free console XMPP client";
|
||||||
homepage = "https://poez.io";
|
homepage = "https://poez.io";
|
||||||
|
changelog = "https://lab.louiz.org/poezio/poezio/-/blob/v${version}/CHANGELOG";
|
||||||
license = licenses.zlib;
|
license = licenses.zlib;
|
||||||
maintainers = [ maintainers.lsix ];
|
maintainers = with maintainers; [ lsix ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -33424,7 +33424,7 @@ with pkgs;
|
|||||||
|
|
||||||
polar-bookshelf1 = callPackage ../applications/misc/polar-bookshelf1 { };
|
polar-bookshelf1 = callPackage ../applications/misc/polar-bookshelf1 { };
|
||||||
|
|
||||||
poezio = python3Packages.poezio;
|
poezio = callPackage ../applications/networking/instant-messengers/poezio { };
|
||||||
|
|
||||||
pommed_light = callPackage ../os-specific/linux/pommed-light { };
|
pommed_light = callPackage ../os-specific/linux/pommed-light { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user