Merge pull request #135668 from MaskedBelgian/master
Python3Packages.versiontag: init at 1.2.0launchpad/nixpkgs/master
commit
dced14bb29
@ -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 ]; |
||||||
|
}; |
||||||
|
} |
Loading…
Reference in new issue