about summary refs log tree commit diff
path: root/pkgs/development/python-modules/versiontag/default.nix
blob: aebf40a40f5138e083030b703aae11ba1192c0d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, buildPythonPackage, fetchFromGitHub, git }:

buildPythonPackage rec {
  pname = "versiontag";
  version = "1.2.0";

  src = fetchFromGitHub {
    owner = "thelabnyc";
    repo = "python-versiontag";
    rev = "r${version}";
    sha256 = "1axv2214ykgv5adajv10v2zy5fr9v77db54rkik6ja29p66zl90n";
  };

  checkInputs = [ git ];

  pythonImportsCheck = [ "versiontag" ];

  meta = with lib; {
    description = "Python library designed to make accessing the current version number of your software easy";
    homepage = "https://github.com/thelabnyc/python-versiontag";
    license = licenses.isc;
    maintainers = with maintainers; [ MaskedBelgian ];
  };
}