python mygpoclient: move expression to python-packages.nix

This commit is contained in:
Frederik Rietdijk 2015-12-09 11:20:16 +01:00
parent 3c5e03d8c0
commit d2b7b5660b
3 changed files with 31 additions and 29 deletions

View File

@ -1,28 +0,0 @@
{ stdenv, fetchurl, python, buildPythonPackage, pythonPackages }:
buildPythonPackage rec {
name = "mygpoclient-1.7";
src = fetchurl {
url = "https://thp.io/2010/mygpoclient/${name}.tar.gz";
sha256 = "6a0b7b1fe2b046875456e14eda3e42430e493bf2251a64481cf4fd1a1e21a80e";
};
buildInputs = with pythonPackages; [ nose minimock ];
checkPhase = ''
nosetests
'';
meta = {
description = "A gpodder.net client library";
longDescription = ''
The mygpoclient library allows developers to utilize a Pythonic interface
to the gpodder.net web services.
'';
homepage = "https://thp.io/2010/mygpoclient/";
license = stdenv.lib.licenses.gpl3;
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
maintainers = [ stdenv.lib.maintainers.skeidel ];
};
}

View File

@ -7872,7 +7872,7 @@ let
muparser = callPackage ../development/libraries/muparser { };
mygpoclient = callPackage ../development/python-modules/mygpoclient { };
mygpoclient = pythonPackages.mygpoclient;
mygui = callPackage ../development/libraries/mygui {};

View File

@ -10189,6 +10189,36 @@ in modules // {
};
});
mygpoclient = buildPythonPackage rec {
name = "mygpoclient-${version}";
version = "1.7";
src = pkgs.fetchurl {
url = "https://thp.io/2010/mygpoclient/${name}.tar.gz";
sha256 = "6a0b7b1fe2b046875456e14eda3e42430e493bf2251a64481cf4fd1a1e21a80e";
};
buildInputs = with self; [ nose minimock ];
checkPhase = ''
nosetests
'';
disabled = isPy3k;
meta = {
description = "A gpodder.net client library";
longDescription = ''
The mygpoclient library allows developers to utilize a Pythonic interface
to the gpodder.net web services.
'';
homepage = https://thp.io/2010/mygpoclient/;
license = with licenses; [ gpl3 ];
platforms = with platforms; [ linux darwin ];
maintainers = with maintainers; [ skeidel ];
};
};
plover = buildPythonPackage rec {
name = "plover-${version}";
version = "2.5.8";