mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-14 03:50:21 +08:00
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.
30 lines
673 B
Nix
30 lines
673 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, pytestCheckHook
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "gemfileparser";
|
|
version = "0.8.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "839592e49ea3fd985cec003ef58f8e77009a69ed7644a0c0acc94cf6dd9b8d6e";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"gemfileparser"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A library to parse Ruby Gemfile, .gemspec and Cocoapod .podspec file using Python";
|
|
homepage = "https://github.com/gemfileparser/gemfileparser";
|
|
license = with licenses; [ gpl3Plus /* or */ mit ];
|
|
maintainers = teams.determinatesystems.members;
|
|
};
|
|
}
|