nixos-option: rewrite as a nix script, 2nd try (#369151)
[NixPkgs.git] / pkgs / development / python-modules / pint-pandas / default.nix
blob6bd27a237e7fb6c9985a560761ab5bdd596a2364
2   stdenv,
3   lib,
4   buildPythonPackage,
5   fetchFromGitHub,
6   pythonOlder,
7   setuptools,
8   setuptools-scm,
9   wheel,
10   pint,
11   pandas,
12   pytestCheckHook,
15 buildPythonPackage rec {
16   pname = "pint-pandas";
17   version = "0.6";
18   pyproject = true;
20   disabled = pythonOlder "3.9";
22   src = fetchFromGitHub {
23     owner = "hgrecco";
24     repo = "pint-pandas";
25     tag = version;
26     hash = "sha256-5/Qk6HZlfeKkfSqnVA8aADjJ99SUiurYCqSIUBPFIzc=";
27   };
29   build-system = [
30     setuptools
31     setuptools-scm
32     wheel
33   ];
35   dependencies = [
36     pint
37     pandas
38   ];
40   nativeCheckInputs = [ pytestCheckHook ];
42   meta = {
43     broken = stdenv.hostPlatform.isDarwin;
44     description = "Pandas support for pint";
45     license = lib.licenses.bsd3;
46     homepage = "https://github.com/hgrecco/pint-pandas";
47     maintainers = with lib.maintainers; [ doronbehar ];
48   };