Merge pull request #141520 from zakame/contrib/python3-versionfinder
python3Packages.versionfinder: init at 1.1.1
This commit is contained in:
commit
67011b7cc7
32
pkgs/development/python-modules/versionfinder/default.nix
Normal file
32
pkgs/development/python-modules/versionfinder/default.nix
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
{ lib, buildPythonPackage, fetchFromGitHub, GitPython, pytest, backoff, requests }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "versionfinder";
|
||||||
|
version = "1.1.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "jantman";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "16mvjwyhmw39l8by69dgr9b9jnl7yav36523lkh7w7pwd529pbb9";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
GitPython
|
||||||
|
backoff
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytest
|
||||||
|
requests
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "versionfinder" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Find the version of another package, whether installed via pip, setuptools or git";
|
||||||
|
homepage = "https://github.com/jantman/versionfinder";
|
||||||
|
license = licenses.agpl3Plus;
|
||||||
|
maintainers = with maintainers; [ zakame ];
|
||||||
|
};
|
||||||
|
}
|
@ -9530,6 +9530,8 @@ in {
|
|||||||
|
|
||||||
versioneer = callPackage ../development/python-modules/versioneer { };
|
versioneer = callPackage ../development/python-modules/versioneer { };
|
||||||
|
|
||||||
|
versionfinder = callPackage ../development/python-modules/versionfinder { };
|
||||||
|
|
||||||
versiontag = callPackage ../development/python-modules/versiontag { };
|
versiontag = callPackage ../development/python-modules/versiontag { };
|
||||||
|
|
||||||
versiontools = callPackage ../development/python-modules/versiontools { };
|
versiontools = callPackage ../development/python-modules/versiontools { };
|
||||||
|
Loading…
Reference in New Issue
Block a user