python3Packages.findpython: init at 0.1.3
This commit is contained in:
parent
93dfcc2038
commit
d8dbe622f0
2 changed files with 55 additions and 0 deletions
53
pkgs/development/python-modules/findpython/default.nix
Normal file
53
pkgs/development/python-modules/findpython/default.nix
Normal file
|
@ -0,0 +1,53 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
|
||||
# build time
|
||||
, pdm-pep517
|
||||
|
||||
# runtime
|
||||
, packaging
|
||||
|
||||
# tests
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "findpython";
|
||||
version = "0.1.3";
|
||||
in
|
||||
buildPythonPackage {
|
||||
inherit pname version;
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-tVpBa5/PLShyG/vqHOsqbLZ6APmexLlKdtoix6IAKHA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pdm-pep517
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
packaging
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"findpython"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A utility to find python versions on your system";
|
||||
homepage = "https://github.com/frostming/findpython";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
|
@ -2866,6 +2866,8 @@ in {
|
|||
|
||||
findimports = callPackage ../development/python-modules/findimports { };
|
||||
|
||||
findpython = callPackage ../development/python-modules/findpython { };
|
||||
|
||||
fingerprints = callPackage ../development/python-modules/fingerprints { };
|
||||
|
||||
finitude = callPackage ../development/python-modules/finitude { };
|
||||
|
|
Loading…
Reference in a new issue