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 ];
};
}