depot/third_party/nixpkgs/pkgs/development/python-modules/aocd-example-parser/default.nix
Default email 60f07311b9 Project import generated by Copybara.
GitOrigin-RevId: f8e2ebd66d097614d51a56a755450d4ae1632df1
2024-02-06 17:22:34 -08:00

37 lines
836 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 ];
};
}