summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2018-01-01 11:47:34 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2018-01-01 11:47:34 +0100
commite6dd8d43b8f026a391e8ff8c30716c1d62a033f3 (patch)
treea4f23d510b13f59d0ff3031ff9b4cfc349764225
parent2ed7dda500285879c8071861b7b598c625c8b583 (diff)
downloadnixlib-e6dd8d43b8f026a391e8ff8c30716c1d62a033f3.tar
nixlib-e6dd8d43b8f026a391e8ff8c30716c1d62a033f3.tar.gz
nixlib-e6dd8d43b8f026a391e8ff8c30716c1d62a033f3.tar.bz2
nixlib-e6dd8d43b8f026a391e8ff8c30716c1d62a033f3.tar.lz
nixlib-e6dd8d43b8f026a391e8ff8c30716c1d62a033f3.tar.xz
nixlib-e6dd8d43b8f026a391e8ff8c30716c1d62a033f3.tar.zst
nixlib-e6dd8d43b8f026a391e8ff8c30716c1d62a033f3.zip
python.pkgs.mygpoclient: fix expression
-rw-r--r--pkgs/development/python-modules/mygpoclient/default.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/mygpoclient/default.nix b/pkgs/development/python-modules/mygpoclient/default.nix
index 14819b0b66e4..097898a2d84f 100644
--- a/pkgs/development/python-modules/mygpoclient/default.nix
+++ b/pkgs/development/python-modules/mygpoclient/default.nix
@@ -1,7 +1,7 @@
 { stdenv, fetchFromGitHub, buildPythonPackage, nose, minimock }:
 
 buildPythonPackage rec {
-  name = "mygpoclient-${version}";
+  pname = "mypgoclient";
   version = "1.8";
 
   src = fetchFromGitHub {
@@ -11,7 +11,7 @@ buildPythonPackage rec {
     sha256 = "0aa28wc55x3rxa7clwfv5v5500ffyaq0vkxaa3v01y1r93dxkdvp";
   };
 
-  buildInputs = [ nose minimock ];
+  checkInputs = [ nose minimock ];
 
   checkPhase = ''
     nosetests
@@ -25,7 +25,6 @@ buildPythonPackage rec {
     '';
     homepage = https://github.com/gpodder/mygpoclient;
     license = with licenses; [ gpl3 ];
-    platforms = with platforms; linux ++ darwin;
     maintainers = with maintainers; [ skeidel ];
   };
 }