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
31 lines
707 B
Nix
31 lines
707 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
flit-core,
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "aocd-example-parser";
|
|
version = "2024.12.25";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "wimglenn";
|
|
repo = "aocd-example-parser";
|
|
rev = "c86bfc714d2f413965a46a2caf3483e823ea9ade";
|
|
hash = "sha256-1Le1jrLCFRJcUngoq5bt22gM1lpAMBNBRWjOl3yLlsw=";
|
|
};
|
|
|
|
build-system = [ flit-core ];
|
|
|
|
# Circular dependency with aocd
|
|
|
|
meta = {
|
|
description = "Default implementation of an example parser plugin for advent-of-code-data";
|
|
homepage = "https://github.com/wimglenn/aocd-example-parser";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|