pythonPackages.mutagen: move to a separate file

This commit is contained in:
Jan Tojnar 2018-03-29 21:15:09 +02:00
parent 454ef67872
commit 6a1198de7e
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4
2 changed files with 29 additions and 20 deletions

View file

@ -0,0 +1,28 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, pkgs
}:
buildPythonPackage rec {
pname = "mutagen";
version = "1.36";
src = fetchPypi {
inherit pname version;
sha256 = "1kabb9b81hgvpd3wcznww549vss12b1xlvpnxg1r6n4c7gikgvnp";
};
checkInputs = [
pkgs.faad2 pkgs.flac pkgs.vorbis-tools pkgs.liboggz
pkgs.glibcLocales pytest
];
LC_ALL = "en_US.UTF-8";
meta = with lib; {
description = "Python multimedia tagging library";
homepage = https://mutagen.readthedocs.io/;
license = licenses.lgpl2;
};
}

View file

@ -8136,26 +8136,7 @@ in {
};
};
mutagen = buildPythonPackage (rec {
name = "mutagen-1.36";
src = pkgs.fetchurl {
url = "mirror://pypi/m/mutagen/${name}.tar.gz";
sha256 = "1kabb9b81hgvpd3wcznww549vss12b1xlvpnxg1r6n4c7gikgvnp";
};
# Needed for tests only
buildInputs = with self; [ pkgs.faad2 pkgs.flac pkgs.vorbis-tools pkgs.liboggz
pkgs.glibcLocales pytest
];
LC_ALL = "en_US.UTF-8";
meta = {
description = "Python multimedia tagging library";
homepage = http://code.google.com/p/mutagen;
license = licenses.lgpl2;
};
});
mutagen = callPackage ../development/python-modules/mutagen { };
muttils = buildPythonPackage (rec {