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
850 B
Nix
44 lines
850 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
|
|
# build-system
|
|
setuptools,
|
|
versioneer,
|
|
|
|
# dependencies
|
|
bidsschematools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "bids-validator";
|
|
version = "1.14.7.post0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "bids_validator";
|
|
inherit version;
|
|
hash = "sha256-5gBaUAt1+KlhWT+2fUYIUQfa2xFvWaXDtSSqBpeUW2Y=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
versioneer
|
|
];
|
|
|
|
dependencies = [
|
|
bidsschematools
|
|
];
|
|
|
|
pythonImportsCheck = [ "bids_validator" ];
|
|
|
|
meta = {
|
|
description = "Validator for the Brain Imaging Data Structure";
|
|
homepage = "https://github.com/bids-standard/bids-validator";
|
|
changelog = "https://github.com/bids-standard/bids-validator/releases/tag/v${version}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ wegank ];
|
|
};
|
|
}
|