mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
33afbf39f6
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.
29 lines
639 B
Nix
29 lines
639 B
Nix
{ lib
|
|
, pythonAtLeast
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, nose
|
|
, coverage
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "globre";
|
|
version = "0.1.5";
|
|
# https://github.com/metagriffin/globre/issues/7
|
|
disabled = pythonAtLeast "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1qhjpg0722871dm5m7mmldf6c7mx58fbdvk1ix5i3s9py82448gf";
|
|
};
|
|
|
|
nativeCheckInputs = [ nose coverage ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/metagriffin/globre";
|
|
description = "A python glob-like regular expression generation library.";
|
|
maintainers = with maintainers; [ glittershark ];
|
|
license = licenses.gpl3;
|
|
};
|
|
}
|