natsukium 2023-10-07 12:29:55 +09:00
parent 03c857c953
commit 4fdaf8708d
No known key found for this signature in database
GPG key ID: 9EA45A31DB994C53

View file

@ -5,16 +5,21 @@
python3.pkgs.buildPythonApplication rec {
pname = "doq";
version = "0.9.1";
format = "setuptools";
version = "0.10.0";
pyproject = true;
src = fetchFromGitHub {
owner = "heavenshell";
repo = "py-doq";
rev = "refs/tags/${version}";
hash = "sha256-6ff7R/2Jo4jYm1hA70yopjklpKIMWlj7DH9eKxOlfgU=";
hash = "sha256-iVu+5o8pZ5OhIzNItWbzUzqC3VQ6HCD7nP5gW/PVAMM=";
};
nativeBuildInputs = with python3.pkgs; [
setuptools
setuptools-generate
];
propagatedBuildInputs = with python3.pkgs; [
jinja2
parso
@ -23,7 +28,7 @@ python3.pkgs.buildPythonApplication rec {
nativeCheckInputs = with python3.pkgs; [
parameterized
unittestCheckHook
pytestCheckHook
];
pythonImportsCheck = [ "doq" ];
@ -34,5 +39,6 @@ python3.pkgs.buildPythonApplication rec {
changelog = "https://github.com/heavenshell/py-doq/releases/tag/${src.rev}";
license = licenses.bsd3;
maintainers = with maintainers; [ natsukium ];
mainProgram = "doq";
};
}