depot/third_party/nixpkgs/pkgs/development/python-modules/aocd-example-parser/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

36 lines
837 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
pythonOlder,
}:
buildPythonPackage rec {
pname = "aocd-example-parser";
version = "unstable-2023-12-17";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "wimglenn";
repo = "aocd-example-parser";
rev = "07330183f3e43401444fe17b08d72eb6168504e1";
hash = "sha256-iOxqzZj29aY/xyigir1KOU6GcBBvnlxEOBLHChEQjf4=";
};
nativeBuildInputs = [ flit-core ];
# Circular dependency with aocd
# pythonImportsCheck = [
# "aocd_example_parser"
# ];
meta = with lib; {
description = "Default implementation of an example parser plugin for advent-of-code-data";
homepage = "https://github.com/wimglenn/aocd-example-parser";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}