Loading pkgs/development/python-modules/mediafile/default.nix +11 −10 Original line number Diff line number Diff line Loading @@ -3,31 +3,31 @@ buildPythonPackage, fetchFromGitHub, flit-core, filetype, mutagen, pytestCheckHook, pythonOlder, six, }: buildPythonPackage rec { pname = "mediafile"; version = "0.12.0"; format = "pyproject"; version = "0.13.0"; pyproject = true; disabled = pythonOlder "3.6"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "beetbox"; repo = pname; rev = "v${version}"; hash = "sha256-5HHfG1hCIbM/QSXgB61yHNNWJTsuyAh6CQJ7SZhZuvo="; repo = "mediafile"; tag = "v${version}"; hash = "sha256-Knp91nVPFkE2qYSZoWcOsMBNY+OBfWCPPNn+T1L8v0o="; }; nativeBuildInputs = [ flit-core ]; build-system = [ flit-core ]; propagatedBuildInputs = [ dependencies = [ filetype mutagen six ]; nativeCheckInputs = [ pytestCheckHook ]; Loading @@ -37,6 +37,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python interface to the metadata tags for many audio file formats"; homepage = "https://github.com/beetbox/mediafile"; changelog = "https://github.com/beetbox/mediafile/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ lovesegfault ]; }; Loading pkgs/tools/audio/beets/plugins/copyartifacts.nix +12 −7 Original line number Diff line number Diff line { lib, fetchFromGitHub, beets, fetchFromGitHub, python3Packages, writableTmpDirAsHomeHook, }: python3Packages.buildPythonApplication rec { pname = "beets-copyartifacts"; version = "0.1.5"; pyproject = true; src = fetchFromGitHub { repo = "beets-copyartifacts"; owner = "adammillerio"; rev = "v${version}"; sha256 = "sha256-UTZh7T6Z288PjxFgyFxHnPt0xpAH3cnr8/jIrlJhtyU="; tag = "v${version}"; hash = "sha256-UTZh7T6Z288PjxFgyFxHnPt0xpAH3cnr8/jIrlJhtyU="; }; postPatch = '' Loading @@ -26,19 +28,22 @@ python3Packages.buildPythonApplication rec { sed -i -e 's/util\.py3_path/os.fsdecode/g' tests/_common.py ''; pytestFlagsArray = [ "-r fEs" ]; build-system = with python3Packages; [ setuptools ]; dependencies = with python3Packages; [ six ]; nativeCheckInputs = [ python3Packages.pytestCheckHook beets writableTmpDirAsHomeHook ]; preCheck = '' export HOME=$(mktemp -d) ''; pytestFlagsArray = [ "-r fEs" ]; meta = { description = "Beets plugin to move non-music files during the import process"; homepage = "https://github.com/adammillerio/beets-copyartifacts"; changelog = "https://github.com/adammillerio/beets-copyartifacts/releases/tag/${src.tag}"; license = lib.licenses.mit; inherit (beets.meta) platforms; }; Loading Loading
pkgs/development/python-modules/mediafile/default.nix +11 −10 Original line number Diff line number Diff line Loading @@ -3,31 +3,31 @@ buildPythonPackage, fetchFromGitHub, flit-core, filetype, mutagen, pytestCheckHook, pythonOlder, six, }: buildPythonPackage rec { pname = "mediafile"; version = "0.12.0"; format = "pyproject"; version = "0.13.0"; pyproject = true; disabled = pythonOlder "3.6"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "beetbox"; repo = pname; rev = "v${version}"; hash = "sha256-5HHfG1hCIbM/QSXgB61yHNNWJTsuyAh6CQJ7SZhZuvo="; repo = "mediafile"; tag = "v${version}"; hash = "sha256-Knp91nVPFkE2qYSZoWcOsMBNY+OBfWCPPNn+T1L8v0o="; }; nativeBuildInputs = [ flit-core ]; build-system = [ flit-core ]; propagatedBuildInputs = [ dependencies = [ filetype mutagen six ]; nativeCheckInputs = [ pytestCheckHook ]; Loading @@ -37,6 +37,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python interface to the metadata tags for many audio file formats"; homepage = "https://github.com/beetbox/mediafile"; changelog = "https://github.com/beetbox/mediafile/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ lovesegfault ]; }; Loading
pkgs/tools/audio/beets/plugins/copyartifacts.nix +12 −7 Original line number Diff line number Diff line { lib, fetchFromGitHub, beets, fetchFromGitHub, python3Packages, writableTmpDirAsHomeHook, }: python3Packages.buildPythonApplication rec { pname = "beets-copyartifacts"; version = "0.1.5"; pyproject = true; src = fetchFromGitHub { repo = "beets-copyartifacts"; owner = "adammillerio"; rev = "v${version}"; sha256 = "sha256-UTZh7T6Z288PjxFgyFxHnPt0xpAH3cnr8/jIrlJhtyU="; tag = "v${version}"; hash = "sha256-UTZh7T6Z288PjxFgyFxHnPt0xpAH3cnr8/jIrlJhtyU="; }; postPatch = '' Loading @@ -26,19 +28,22 @@ python3Packages.buildPythonApplication rec { sed -i -e 's/util\.py3_path/os.fsdecode/g' tests/_common.py ''; pytestFlagsArray = [ "-r fEs" ]; build-system = with python3Packages; [ setuptools ]; dependencies = with python3Packages; [ six ]; nativeCheckInputs = [ python3Packages.pytestCheckHook beets writableTmpDirAsHomeHook ]; preCheck = '' export HOME=$(mktemp -d) ''; pytestFlagsArray = [ "-r fEs" ]; meta = { description = "Beets plugin to move non-music files during the import process"; homepage = "https://github.com/adammillerio/beets-copyartifacts"; changelog = "https://github.com/adammillerio/beets-copyartifacts/releases/tag/${src.tag}"; license = lib.licenses.mit; inherit (beets.meta) platforms; }; Loading