about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarek Mahut <marek.mahut@gmail.com>2019-07-28 23:53:21 +0200
committerMarek Mahut <marek.mahut@gmail.com>2019-07-29 09:36:55 +0200
commitf4ce7887ce5b550d6bbd1445c615bf9e2ae5ad5d (patch)
tree5f2671e67fddfef75dd2e6def9c1bf73d9fdd798
parented5143250008e58f03e25349234247ee15310ebb (diff)
downloadnixlib-f4ce7887ce5b550d6bbd1445c615bf9e2ae5ad5d.tar
nixlib-f4ce7887ce5b550d6bbd1445c615bf9e2ae5ad5d.tar.gz
nixlib-f4ce7887ce5b550d6bbd1445c615bf9e2ae5ad5d.tar.bz2
nixlib-f4ce7887ce5b550d6bbd1445c615bf9e2ae5ad5d.tar.lz
nixlib-f4ce7887ce5b550d6bbd1445c615bf9e2ae5ad5d.tar.xz
nixlib-f4ce7887ce5b550d6bbd1445c615bf9e2ae5ad5d.tar.zst
nixlib-f4ce7887ce5b550d6bbd1445c615bf9e2ae5ad5d.zip
poezio: 0.12 -> 0.12.1
Moving the source to GitHub from dev.louiz.org.
-rw-r--r--pkgs/applications/networking/instant-messengers/poezio/default.nix18
1 files changed, 10 insertions, 8 deletions
diff --git a/pkgs/applications/networking/instant-messengers/poezio/default.nix b/pkgs/applications/networking/instant-messengers/poezio/default.nix
index b5fa1ccc2f41..31c9fb4e7c3f 100644
--- a/pkgs/applications/networking/instant-messengers/poezio/default.nix
+++ b/pkgs/applications/networking/instant-messengers/poezio/default.nix
@@ -1,22 +1,24 @@
-{ lib, buildPythonApplication, fetchurl, pythonOlder
+{ lib, buildPythonApplication, fetchFromGitHub, pythonOlder
 , pytest, aiodns, slixmpp, pyinotify, potr, mpd2, cffi, pkgconfig }:
 buildPythonApplication rec {
-    name = "poezio-${version}";
-    version = "0.12";
+    pname = "poezio";
+    version = "0.12.1";
 
     disabled = pythonOlder "3.4";
 
-    buildInputs = [ pytest ];
+    checkInputs = [ 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";
+    src = fetchFromGitHub {
+      owner = pname;
+      repo = pname;
+      rev = "v${version}";
+      sha256 = "04qnsr0l12i55k6xl4q4akx317gai9wv5f1wpkfkq01wp181i5ll";
     };
 
     checkPhase = ''
-      py.test
+      pytest
     '';
 
     meta = with lib; {