blob: fbc1bd69370e11dd28ec7d9c89b730848c7ccdaa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "puremagic";
version = "1.13";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-yaHw/pOqWLUtYoM3l/JB0JToLXdi04n0BSccRdbCVDw=";
};
# test data not included on pypi
doCheck = false;
pythonImportsCheck = [
"puremagic"
];
meta = with lib; {
description = "Implementation of magic file detection";
homepage = "https://github.com/cdgriffith/puremagic";
license = licenses.mit;
maintainers = with maintainers; [ globin ];
};
}
|