Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6}:
7
8buildPythonPackage rec {
9 pname = "traits";
10 version = "7.1.0";
11 pyproject = true;
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-r0d1dH4R4F/+E9O6Rj2S9n8fPRqeT0a6M6ROoisMlkQ=";
16 };
17
18 build-system = [ setuptools ];
19
20 pythonImportsCheck = [ "traits" ];
21
22 meta = {
23 description = "Explicitly typed attributes for Python";
24 homepage = "https://pypi.python.org/pypi/traits";
25 license = lib.licenses.bsd3;
26 maintainers = with lib.maintainers; [ bot-wxt1221 ];
27 };
28}