depot/third_party/nixpkgs/pkgs/development/python-modules/editables/default.nix

32 lines
599 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "editables";
version = "0.2";
src = fetchPypi {
inherit pname version;
sha256 = "6918f16225258f24ef9800c2327e14eded42ddac344e77982380749464024f35";
};
checkInputs = [
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;
};
}