depot/third_party/nixpkgs/pkgs/development/python-modules/puremagic/default.nix
Default email 818c48e259 Project import generated by Copybara.
GitOrigin-RevId: 14aef06d9b3ad1d07626bdbb16083b83f92dc6c1
2021-10-04 09:37:57 -03:00

26 lines
576 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "puremagic";
version = "1.11";
src = fetchPypi {
inherit pname version;
sha256 = "09d762b9d83c65a83617ee57a3532eb10663f394c1caf81390516c5b1cc0fc6b";
};
# test data not included on pypi
doCheck = false;
pythonImportsCheck = [ "puremagic" ];
meta = with lib; {
description = "Pure python implementation of magic file detection";
license = licenses.mit;
homepage = "https://github.com/cdgriffith/puremagic";
maintainers = with maintainers; [ globin ];
};
}