summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2021-09-04 12:58:27 +0200
committerGitHub <noreply@github.com>2021-09-04 12:58:27 +0200
commitdced14bb297988cda2a68273385791e8181c7155 (patch)
tree63cefd20b073f034313dd2f42aabde4ffc6068a7
parente0f90f86e9e73668efd7c71fe473db4c318d6798 (diff)
parentd60f63ec966a52108a8a22a9aa53d0c0f31eac5a (diff)
downloadnixpkgs-dced14bb297988cda2a68273385791e8181c7155.tar
nixpkgs-dced14bb297988cda2a68273385791e8181c7155.tar.gz
nixpkgs-dced14bb297988cda2a68273385791e8181c7155.tar.bz2
nixpkgs-dced14bb297988cda2a68273385791e8181c7155.tar.lz
nixpkgs-dced14bb297988cda2a68273385791e8181c7155.tar.xz
nixpkgs-dced14bb297988cda2a68273385791e8181c7155.tar.zst
nixpkgs-dced14bb297988cda2a68273385791e8181c7155.zip
Merge pull request #135668 from MaskedBelgian/master
Python3Packages.versiontag: init at 1.2.0
-rw-r--r--maintainers/maintainer-list.nix6
-rw-r--r--pkgs/development/python-modules/versiontag/default.nix24
-rw-r--r--pkgs/development/python-modules/{}0
-rw-r--r--pkgs/top-level/python-packages.nix2
4 files changed, 32 insertions, 0 deletions
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix
index a3d57326788..c690f031989 100644
--- a/maintainers/maintainer-list.nix
+++ b/maintainers/maintainer-list.nix
@@ -6706,6 +6706,12 @@
     githubId = 775189;
     name = "Jordi Masip";
   };
+  MaskedBelgian = {
+    email = "michael.colicchia@imio.be";
+    github = "MaskedBelgian";
+    githubId = 29855073;
+    name = "Michael Colicchia";
+  };
   matdsoupe = {
     github = "matdsoupe";
     githubId = 44469426;
diff --git a/pkgs/development/python-modules/versiontag/default.nix b/pkgs/development/python-modules/versiontag/default.nix
new file mode 100644
index 00000000000..aebf40a40f5
--- /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 00000000000..e69de29bb2d
--- /dev/null
+++ b/pkgs/development/python-modules/{}
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 419177aa833..80e1646b216 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -9220,6 +9220,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 { };