nixpkgs/pkgs/development/python-modules/numericalunits/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

26 lines
521 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
}:
buildPythonPackage rec {
version = "1.25";
format = "setuptools";
pname = "numericalunits";
src = fetchPypi {
inherit pname version;
sha256 = "c32a482adae818a1a8d6c799bf9fb153326461d490c0de9deab9c694a6537eec";
};
disabled = !isPy3k;
meta = with lib; {
homepage = "http://pypi.python.org/pypi/numericalunits";
description = "A package that lets you define quantities with unit";
license = licenses.mit;
maintainers = [ ];
};
}