1{
2 buildPythonPackage,
3 fetchFromGitHub,
4 lib,
5 setuptools,
6}:
7
8buildPythonPackage rec {
9 pname = "prayer-times-calculator-offline";
10 version = "1.0.3";
11 pyproject = true;
12
13 src = fetchFromGitHub {
14 owner = "cpfair";
15 repo = "prayer-times-calculator-offline";
16 tag = "v${version}";
17 hash = "sha256-sVEdjtwxwGa354YimeaNqjqZ9yEecNXg8kk6Pafvvd4=";
18 };
19
20 build-system = [ setuptools ];
21
22 pythonImportsCheck = [ "prayer_times_calculator_offline" ];
23
24 # upstream has no tests
25 doCheck = false;
26
27 meta = {
28 changelog = "https://github.com/cpfair/prayer-times-calculator-offline/releases/tag/v${version}";
29 description = "Prayer Times Calculator - Offline";
30 homepage = "https://github.com/cpfair/prayer-times-calculator-offline";
31 license = lib.licenses.mit;
32 maintainers = with lib.maintainers; [ dotlambda ];
33 };
34}