{"action":"opened","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/13612","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/13612/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/13612/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/13612/events","html_url":"https://github.com/NixOS/nixpkgs/issues/13612","id":137859746,"number":13612,"title":"s3cmd: module python-magic is not available","user":{"login":"ip1981","id":131844,"avatar_url":"https://avatars.githubusercontent.com/u/131844?v=3","gravatar_id":"","url":"https://api.github.com/users/ip1981","html_url":"https://github.com/ip1981","followers_url":"https://api.github.com/users/ip1981/followers","following_url":"https://api.github.com/users/ip1981/following{/other_user}","gists_url":"https://api.github.com/users/ip1981/gists{/gist_id}","starred_url":"https://api.github.com/users/ip1981/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ip1981/subscriptions","organizations_url":"https://api.github.com/users/ip1981/orgs","repos_url":"https://api.github.com/users/ip1981/repos","events_url":"https://api.github.com/users/ip1981/events{/privacy}","received_events_url":"https://api.github.com/users/ip1981/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-02T12:18:17Z","updated_at":"2016-03-02T12:18:17Z","closed_at":null,"body":"When uploading with s3cmd:\r\n```\r\nWARNING: Module python-magic is not available. Guessing MIME types based on file extensions.\r\n```\r\n\r\n[s3cmd](https://github.com/NixOS/nixpkgs/blob/40ca841c5c0b264a0d1a1ffc2f912e17e30f9caa/pkgs/tools/networking/s3cmd/default.nix) has \r\n\r\n```nix\r\n{\r\npropagatedBuildInputs = with pythonPackages; [ python_magic dateutil ];\r\n}\r\n```\r\n\r\nBut is seems pointless at all.\r\n\r\nShould a wrapper be used?\r\n\r\n```nix\r\n{\r\n    buildInputs = with pythonPackages; [ python_magic dateutil wrapPython ];\r\n    # ^^ is this enough?\r\n    pythonPath = with pythonPackages; [ python_magic ];\r\n}\r\n```"}}