pythonPackages.mpd: refactor move to python-modules
This commit is contained in:
parent
2c30da5ec1
commit
f3548b46e7
23
pkgs/development/python-modules/mpd/default.nix
Normal file
23
pkgs/development/python-modules/mpd/default.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-mpd";
|
||||
version = "0.3.0";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "02812eba1d2e0f46e37457f5a6fa23ba203622e4bcab0a19b265e66b08cd21b4";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "An MPD (Music Player Daemon) client library written in pure Python";
|
||||
homepage = http://jatreuman.indefero.net/p/python-mpd/;
|
||||
license = licenses.gpl3;
|
||||
};
|
||||
|
||||
}
|
@ -2824,22 +2824,7 @@ in {
|
||||
|
||||
mpmath = callPackage ../development/python-modules/mpmath { };
|
||||
|
||||
mpd = buildPythonPackage rec {
|
||||
name = "python-mpd-0.3.0";
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/p/python-mpd/python-mpd-0.3.0.tar.gz";
|
||||
sha256 = "02812eba1d2e0f46e37457f5a6fa23ba203622e4bcab0a19b265e66b08cd21b4";
|
||||
};
|
||||
|
||||
meta = with pkgs.stdenv.lib; {
|
||||
description = "An MPD (Music Player Daemon) client library written in pure Python";
|
||||
homepage = http://jatreuman.indefero.net/p/python-mpd/;
|
||||
license = licenses.gpl3;
|
||||
};
|
||||
};
|
||||
mpd = callPackage ../development/python-modules/mpd { };
|
||||
|
||||
mpd2 = buildPythonPackage rec {
|
||||
name = "mpd2-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user