mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-07 04:34:46 +00:00
![Guillaume Girol](/assets/img/avatar_default.png)
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
32 lines
592 B
Nix
32 lines
592 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "editables";
|
|
version = "0.3";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-FnUk43c1jtHxN05hwmjw16S/fb0EbGVve0EM3hYWGxo=";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
# Tests not included in archive.
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "editables" ];
|
|
|
|
meta = with lib; {
|
|
description = "Editable installations";
|
|
maintainers = with maintainers; [ ];
|
|
homepage = "https://github.com/pfmoore/editables";
|
|
license = licenses.mit;
|
|
};
|
|
}
|