nixpkgs/pkgs/development/python-modules/codepy/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

36 lines
730 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytools
, appdirs
, six
, cgen
}:
buildPythonPackage rec {
pname = "codepy";
version = "2019.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "inducer";
repo = pname;
rev = "v${version}";
hash = "sha256-viMfB/nDrvDA/IGRZEX+yXylxbbmqbh/fgdYXBzK0zM=";
};
buildInputs = [ pytools six cgen ];
propagatedBuildInputs = [ appdirs ];
pythonImportsCheck = [ "codepy" ];
# Tests are broken
doCheck = false;
meta = with lib; {
homepage = "https://github.com/inducer/codepy";
description = "Generate and execute native code at run time, from Python";
license = licenses.mit;
maintainers = with maintainers; [ atila ];
};
}