Merge pull request #146072 from r-ryantm/auto-update/python38Packages.pyp

python38Packages.pyp: 0.3.4 -> 1.0.0
This commit is contained in:
Fabian Affolter 2021-11-16 12:41:47 +01:00 committed by GitHub
commit ff4ff4e8c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,13 +11,16 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyp"; pname = "pyp";
version = "0.3.4"; version = "1.0.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "hauntsaninja"; owner = "hauntsaninja";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-K9dGmvy4siurmhqwNfg1dT0TWc6tCSaxfPyaJkYM2Vw="; sha256 = "09k7y77h7g4dg0x6lg9pn2ga9z7xiy4vlj15fj0991ffsi4ydqgm";
}; };
propagatedBuildInputs = lib.optionals (pythonOlder "3.9") [ propagatedBuildInputs = lib.optionals (pythonOlder "3.9") [
@ -27,6 +30,7 @@ buildPythonPackage rec {
preCheck = '' preCheck = ''
export PATH=$out/bin:$PATH export PATH=$out/bin:$PATH
''; '';
checkInputs = [ checkInputs = [
pytestCheckHook pytestCheckHook
coreutils coreutils
@ -34,8 +38,12 @@ buildPythonPackage rec {
bc bc
]; ];
pythonImportsCheck = [
"pyp"
];
meta = with lib; { meta = with lib; {
description = "Easily run Python at the shell! Magical, but never mysterious."; description = "Easily run Python at the shell! Magical, but never mysterious";
homepage = "https://github.com/hauntsaninja/pyp"; homepage = "https://github.com/hauntsaninja/pyp";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ rmcgibbo ]; maintainers = with maintainers; [ rmcgibbo ];