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