7 stdenv.mkDerivation rec {
11 src = fetchFromGitHub {
14 rev = "refs/tags/v${version}";
15 hash = "sha256-urF0glUR6W2jtT3Ek3OpbpmImiQrwHGbS1/pGuTcgyA=";
22 configureScript = "src/configure";
24 makeFlags = ["-C" "src"];
31 cp -R libexec "$out/libexec"
32 cp -R plugins "$out/plugins"
38 installManPage man/man1/pyenv.1
39 installShellCompletion completions/pyenv.{bash,fish,zsh}
43 description = "Simple Python version management";
44 homepage = "https://github.com/pyenv/pyenv";
45 changelog = "https://github.com/pyenv/pyenv/blob/${src.rev}/CHANGELOG.md";
46 license = licenses.mit;
47 maintainers = with maintainers; [ tjni ];
48 platforms = platforms.all;
49 mainProgram = "pyenv";