Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 poetry-core,
6 dacite,
7 diskcache,
8 jsonschema,
9 pandas,
10 pyarrow,
11}:
12
13buildPythonPackage rec {
14 pname = "datashaper";
15 version = "0.0.49";
16 pyproject = true;
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-Bb+6WWRHSmK91SWew/oBc9AeNlIItqSv9OoOYwlqdTM=";
21 };
22
23 build-system = [ poetry-core ];
24
25 pythonRelaxDeps = [ "pyarrow" ];
26
27 dependencies = [
28 dacite
29 diskcache
30 jsonschema
31 pandas
32 pyarrow
33 ];
34
35 pythonImportsCheck = [ "datashaper" ];
36
37 # pypi tarball has no tests
38 doCheck = false;
39
40 meta = {
41 description = "Collection of utilities for doing lightweight data wrangling";
42 homepage = "https://github.com/microsoft/datashaper/tree/main/python/datashaper";
43 license = lib.licenses.mit;
44 maintainers = with lib.maintainers; [ natsukium ];
45 };
46}