lol

python313Packages.mediafile: 0.12.0 -> 0.13.0 (#392379)

authored by

Fabian Affolter and committed by
GitHub
01337efd bce4d53d

+23 -17
+11 -10
pkgs/development/python-modules/mediafile/default.nix
··· 3 3 buildPythonPackage, 4 4 fetchFromGitHub, 5 5 flit-core, 6 + filetype, 6 7 mutagen, 7 8 pytestCheckHook, 8 9 pythonOlder, 9 - six, 10 10 }: 11 11 12 12 buildPythonPackage rec { 13 13 pname = "mediafile"; 14 - version = "0.12.0"; 15 - format = "pyproject"; 14 + version = "0.13.0"; 15 + pyproject = true; 16 16 17 - disabled = pythonOlder "3.6"; 17 + disabled = pythonOlder "3.7"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "beetbox"; 21 - repo = pname; 22 - rev = "v${version}"; 23 - hash = "sha256-5HHfG1hCIbM/QSXgB61yHNNWJTsuyAh6CQJ7SZhZuvo="; 21 + repo = "mediafile"; 22 + tag = "v${version}"; 23 + hash = "sha256-Knp91nVPFkE2qYSZoWcOsMBNY+OBfWCPPNn+T1L8v0o="; 24 24 }; 25 25 26 - nativeBuildInputs = [ flit-core ]; 26 + build-system = [ flit-core ]; 27 27 28 - propagatedBuildInputs = [ 28 + dependencies = [ 29 + filetype 29 30 mutagen 30 - six 31 31 ]; 32 32 33 33 nativeCheckInputs = [ pytestCheckHook ]; ··· 37 37 meta = with lib; { 38 38 description = "Python interface to the metadata tags for many audio file formats"; 39 39 homepage = "https://github.com/beetbox/mediafile"; 40 + changelog = "https://github.com/beetbox/mediafile/releases/tag/${src.tag}"; 40 41 license = licenses.mit; 41 42 maintainers = with maintainers; [ lovesegfault ]; 42 43 };
+12 -7
pkgs/tools/audio/beets/plugins/copyartifacts.nix
··· 1 1 { 2 2 lib, 3 - fetchFromGitHub, 4 3 beets, 4 + fetchFromGitHub, 5 5 python3Packages, 6 + writableTmpDirAsHomeHook, 6 7 }: 7 8 8 9 python3Packages.buildPythonApplication rec { 9 10 pname = "beets-copyartifacts"; 10 11 version = "0.1.5"; 12 + pyproject = true; 11 13 12 14 src = fetchFromGitHub { 13 15 repo = "beets-copyartifacts"; 14 16 owner = "adammillerio"; 15 - rev = "v${version}"; 16 - sha256 = "sha256-UTZh7T6Z288PjxFgyFxHnPt0xpAH3cnr8/jIrlJhtyU="; 17 + tag = "v${version}"; 18 + hash = "sha256-UTZh7T6Z288PjxFgyFxHnPt0xpAH3cnr8/jIrlJhtyU="; 17 19 }; 18 20 19 21 postPatch = '' ··· 26 28 sed -i -e 's/util\.py3_path/os.fsdecode/g' tests/_common.py 27 29 ''; 28 30 29 - pytestFlagsArray = [ "-r fEs" ]; 31 + build-system = with python3Packages; [ setuptools ]; 32 + 33 + dependencies = with python3Packages; [ six ]; 30 34 31 35 nativeCheckInputs = [ 32 36 python3Packages.pytestCheckHook 33 37 beets 38 + writableTmpDirAsHomeHook 34 39 ]; 35 - preCheck = '' 36 - export HOME=$(mktemp -d) 37 - ''; 40 + 41 + pytestFlagsArray = [ "-r fEs" ]; 38 42 39 43 meta = { 40 44 description = "Beets plugin to move non-music files during the import process"; 41 45 homepage = "https://github.com/adammillerio/beets-copyartifacts"; 46 + changelog = "https://github.com/adammillerio/beets-copyartifacts/releases/tag/${src.tag}"; 42 47 license = lib.licenses.mit; 43 48 inherit (beets.meta) platforms; 44 49 };