blob: 7dd168bf9704e1e98e88f4ce7dcd06bae5a8aa15 (
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
33
34
|
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
}:
buildPythonPackage rec {
pname = "hurry-filesize";
version = "0.9";
pyproject = true;
src = fetchPypi {
pname = "hurry.filesize";
inherit version;
hash = "sha256-9TaDKa2++GrM07yUkFIjQLt5JgRVromxpCwQ9jgBuaY=";
};
# project has no repo...
# fix implicit namespaces (PEP 420) warning
patches = [ ./use-pep-420-implicit-namespace-package.patch ];
build-system = [
setuptools
];
pythonImportsCheck = [ "hurry.filesize" ];
meta = with lib; {
description = "A simple Python library for human readable file sizes (or anything sized in bytes)";
homepage = "https://pypi.org/project/hurry.filesize/";
license = licenses.zpl21;
maintainers = with maintainers; [ vizid ];
};
}
|