nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 41 lines 872 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 filetype, 7 mutagen, 8 pytestCheckHook, 9}: 10 11buildPythonPackage rec { 12 pname = "mediafile"; 13 version = "0.14.0"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "beetbox"; 18 repo = "mediafile"; 19 tag = "v${version}"; 20 hash = "sha256-D5LRGncdeGcmJkrHVvI2cevov4SFO0wuhLxMqP+Ryb8="; 21 }; 22 23 build-system = [ poetry-core ]; 24 25 dependencies = [ 26 filetype 27 mutagen 28 ]; 29 30 nativeCheckInputs = [ pytestCheckHook ]; 31 32 pythonImportsCheck = [ "mediafile" ]; 33 34 meta = { 35 description = "Python interface to the metadata tags for many audio file formats"; 36 homepage = "https://github.com/beetbox/mediafile"; 37 changelog = "https://github.com/beetbox/mediafile/releases/tag/${src.tag}"; 38 license = lib.licenses.mit; 39 maintainers = with lib.maintainers; [ lovesegfault ]; 40 }; 41}