diff --git a/pkgs/development/python-modules/versiontag/default.nix b/pkgs/development/python-modules/versiontag/default.nix new file mode 100644 index 000000000000..aebf40a40f51 --- /dev/null +++ b/pkgs/development/python-modules/versiontag/default.nix @@ -0,0 +1,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 ]; + }; +} diff --git a/pkgs/development/python-modules/{} b/pkgs/development/python-modules/{} new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e5405bf7e32f..14b2fa3fb897 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9204,6 +9204,8 @@ in { versioneer = callPackage ../development/python-modules/versioneer { }; + versiontag = callPackage ../development/python-modules/versiontag { }; + versiontools = callPackage ../development/python-modules/versiontools { }; vertica-python = callPackage ../development/python-modules/vertica-python { };