diff options
Diffstat (limited to 'pkgs/development/tools/pyenv/default.nix')
-rw-r--r-- | pkgs/development/tools/pyenv/default.nix | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/pkgs/development/tools/pyenv/default.nix b/pkgs/development/tools/pyenv/default.nix deleted file mode 100644 index db91e04d6318..000000000000 --- a/pkgs/development/tools/pyenv/default.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, installShellFiles -}: - -stdenv.mkDerivation rec { - pname = "pyenv"; - version = "2.4.12"; - - src = fetchFromGitHub { - owner = "pyenv"; - repo = "pyenv"; - rev = "refs/tags/v${version}"; - hash = "sha256-ZvXtDD9HKwOJiUpR8ThqyCHWyMFs46dIrOgPMNpuHrY="; - }; - - nativeBuildInputs = [ - installShellFiles - ]; - - configureScript = "src/configure"; - - makeFlags = ["-C" "src"]; - - installPhase = '' - runHook preInstall - - mkdir -p "$out" - cp -R bin "$out/bin" - cp -R libexec "$out/libexec" - cp -R plugins "$out/plugins" - - runHook postInstall - ''; - - postInstall = '' - installManPage man/man1/pyenv.1 - installShellCompletion completions/pyenv.{bash,fish,zsh} - ''; - - meta = with lib; { - description = "Simple Python version management"; - homepage = "https://github.com/pyenv/pyenv"; - changelog = "https://github.com/pyenv/pyenv/blob/${src.rev}/CHANGELOG.md"; - license = licenses.mit; - maintainers = with maintainers; [ tjni ]; - platforms = platforms.all; - mainProgram = "pyenv"; - }; -} |