1a04744f74
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:
pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
for f in $(find -name '*.nix'); do
grep -q "$pattern" "$f" || continue
sed -i "/$pattern/d" "$f"
if [ $(grep -c pythonOlder "$f") == 1 ]; then
sed -i '/^\s*pythonOlder,\s*$/d' "$f"
fi
nixfmt "$f"
done
44 lines
828 B
Nix
44 lines
828 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
colorama,
|
|
fetchPypi,
|
|
jinja2,
|
|
pytestCheckHook,
|
|
pyyaml,
|
|
setuptools,
|
|
setuptools-scm,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mergedb";
|
|
version = "0.1.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "2034c18dca23456c5b166b63d94300bcd8ec9f386e6cd639c2f66e141c0313f9";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools-scm ];
|
|
|
|
propagatedBuildInputs = [
|
|
pyyaml
|
|
colorama
|
|
jinja2
|
|
setuptools
|
|
];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "mergedb" ];
|
|
|
|
meta = {
|
|
description = "Tool/library for deep merging YAML files";
|
|
mainProgram = "mergedb";
|
|
homepage = "https://github.com/graysonhead/mergedb";
|
|
license = lib.licenses.gpl3Only;
|
|
maintainers = with lib.maintainers; [ graysonhead ];
|
|
};
|
|
}
|