mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
39 lines
787 B
Nix
39 lines
787 B
Nix
{ lib
|
|
, python3
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "calcure";
|
|
version = "2.8.2";
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "anufrievroman";
|
|
repo = "calcure";
|
|
rev = version;
|
|
hash = "sha256-CWuyBjIhEYb3zOIXT0+pVs9fFahMi04yq2sJjDMwKTI=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
python3.pkgs.setuptools
|
|
python3.pkgs.wheel
|
|
];
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
jdatetime
|
|
holidays
|
|
ics
|
|
attrs
|
|
];
|
|
|
|
pythonImportsCheck = [ "calcure" ];
|
|
|
|
meta = with lib; {
|
|
description = "Modern TUI calendar and task manager with minimal and customizable UI";
|
|
homepage = "https://github.com/anufrievroman/calcure";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ dit7ya ];
|
|
};
|
|
}
|