poezio: 0.12 -> 0.12.1

Moving the source to GitHub from dev.louiz.org.
This commit is contained in:
Marek Mahut 2019-07-28 23:53:21 +02:00
parent ed51432500
commit f4ce7887ce

View File

@ -1,22 +1,24 @@
{ lib, buildPythonApplication, fetchurl, pythonOlder { lib, buildPythonApplication, fetchFromGitHub, pythonOlder
, pytest, aiodns, slixmpp, pyinotify, potr, mpd2, cffi, pkgconfig }: , pytest, aiodns, slixmpp, pyinotify, potr, mpd2, cffi, pkgconfig }:
buildPythonApplication rec { buildPythonApplication rec {
name = "poezio-${version}"; pname = "poezio";
version = "0.12"; version = "0.12.1";
disabled = pythonOlder "3.4"; disabled = pythonOlder "3.4";
buildInputs = [ pytest ]; checkInputs = [ pytest ];
propagatedBuildInputs = [ aiodns slixmpp pyinotify potr mpd2 cffi ]; propagatedBuildInputs = [ aiodns slixmpp pyinotify potr mpd2 cffi ];
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
src = fetchurl { src = fetchFromGitHub {
url = "http://dev.louiz.org/attachments/download/129/${name}.tar.gz"; owner = pname;
sha256 = "11n9x82xyjwbqk28lsfnvqwn8qc9flv6w2c64camh6j3148ykpvz"; repo = pname;
rev = "v${version}";
sha256 = "04qnsr0l12i55k6xl4q4akx317gai9wv5f1wpkfkq01wp181i5ll";
}; };
checkPhase = '' checkPhase = ''
py.test pytest
''; '';
meta = with lib; { meta = with lib; {