Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
918 B · 44 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ lib, buildPythonPackage, fetchFromGitHub, flit-core, filetype, mutagen, pytestCheckHook, pythonOlder,}:
buildPythonPackage rec { pname = "mediafile"; version = "0.13.0"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "beetbox"; repo = "mediafile"; tag = "v${version}"; hash = "sha256-Knp91nVPFkE2qYSZoWcOsMBNY+OBfWCPPNn+T1L8v0o="; };
build-system = [ flit-core ];
dependencies = [ filetype mutagen ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "mediafile" ];
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 ]; };}