diff options
Diffstat (limited to 'pkgs/tools/networking/http-prompt/default.nix')
-rw-r--r-- | pkgs/tools/networking/http-prompt/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/networking/http-prompt/default.nix b/pkgs/tools/networking/http-prompt/default.nix index 37f4f96a3172..7521a9a13bc2 100644 --- a/pkgs/tools/networking/http-prompt/default.nix +++ b/pkgs/tools/networking/http-prompt/default.nix @@ -1,8 +1,9 @@ { stdenv, fetchFromGitHub, pythonPackages, httpie }: pythonPackages.buildPythonApplication rec { + pname = "http-prompt"; version = "0.11.1"; - name = "http-prompt"; + name = "${pname}-${version}"; src = fetchFromGitHub { rev = "v${version}"; @@ -21,7 +22,7 @@ pythonPackages.buildPythonApplication rec { ]; checkPhase = '' - $out/bin/${name} --version | grep -q "${version}" + $out/bin/${pname} --version | grep -q "${version}" ''; meta = with stdenv.lib; { |