poezio: move out of python-packages.nix
This commit is contained in:
parent
a420be1e79
commit
d6a003e953
@ -0,0 +1,28 @@
|
|||||||
|
{ lib, buildPythonApplication, fetchurl, pythonOlder
|
||||||
|
, pytest, aiodns, slixmpp, pyinotify, potr, mpd2, cffi, pkgconfig }:
|
||||||
|
buildPythonApplication rec {
|
||||||
|
name = "poezio-${version}";
|
||||||
|
version = "0.12";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.4";
|
||||||
|
|
||||||
|
buildInputs = [ pytest ];
|
||||||
|
propagatedBuildInputs = [ aiodns slixmpp pyinotify potr mpd2 cffi ];
|
||||||
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://dev.louiz.org/attachments/download/129/${name}.tar.gz";
|
||||||
|
sha256 = "11n9x82xyjwbqk28lsfnvqwn8qc9flv6w2c64camh6j3148ykpvz";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Free console XMPP client";
|
||||||
|
homepage = https://poez.io;
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = [ maintainers.lsix ];
|
||||||
|
};
|
||||||
|
}
|
@ -16005,32 +16005,7 @@ EOF
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
poezio = buildPythonApplication rec {
|
poezio = callPackage ../applications/networking/instant-messengers/poezio { };
|
||||||
name = "poezio-${version}";
|
|
||||||
version = "0.12";
|
|
||||||
|
|
||||||
disabled = pythonOlder "3.4";
|
|
||||||
|
|
||||||
buildInputs = with self; [ pytest ];
|
|
||||||
propagatedBuildInputs = with self ; [ aiodns slixmpp pyinotify potr mpd2 cffi ];
|
|
||||||
nativeBuildInputs = with pkgs; [ pkgconfig ];
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "http://dev.louiz.org/attachments/download/129/${name}.tar.gz";
|
|
||||||
sha256 = "11n9x82xyjwbqk28lsfnvqwn8qc9flv6w2c64camh6j3148ykpvz";
|
|
||||||
};
|
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
py.test
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Free console XMPP client";
|
|
||||||
homepage = https://poez.io;
|
|
||||||
license = licenses.mit;
|
|
||||||
maintainers = [ maintainers.lsix ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
potr = callPackage ../development/python-modules/potr {};
|
potr = callPackage ../development/python-modules/potr {};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user