summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/fiscalyear/default.nix
blob: 94ce0129a5fe4831c22f8932f89b8851f27cc0ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
  buildPythonPackage,
  fetchFromGitHub,
  lib,
  setuptools,
}:

buildPythonPackage rec {
  pname = "fiscalyear";
  version = "0.4.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "adamjstewart";
    repo = "fiscalyear";
    tag = "v${version}";
    hash = "sha256-2wejJRTmVHWiM8LoodyaOyMbMqCx5It6JHCQUWpGsxs=";
  };

  build-system = [ setuptools ];

  pythonImportsCheck = [ "fiscalyear" ];

  # upstream has no tests
  doCheck = false;

  meta = {
    changelog = "https://github.com/adamjstewart/fiscalyear/releases/tag/${src.tag}";
    description = "Utilities for managing the fiscal calendar";
    homepage = "https://github.com/adamjstewart/fiscalyear";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.dotlambda ];
  };
}