diff options
Diffstat (limited to 'pkgs/tools/networking/ht-rust/default.nix')
-rw-r--r-- | pkgs/tools/networking/ht-rust/default.nix | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/pkgs/tools/networking/ht-rust/default.nix b/pkgs/tools/networking/ht-rust/default.nix deleted file mode 100644 index 629cf4ed11e1..000000000000 --- a/pkgs/tools/networking/ht-rust/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ stdenv, lib, rustPlatform, fetchFromGitHub, Security }: - -rustPlatform.buildRustPackage rec { - pname = "ht-rust"; - version = "0.5.0"; - - src = fetchFromGitHub { - owner = "ducaale"; - repo = "ht"; - rev = "v${version}"; - sha256 = "cr/iavCRdFYwVR6Iemm1hLKqd0OFG1iDmxpQ9fiwOmU="; - }; - - cargoSha256 = "uB23/9AjPwCwf9ljE8ai7zJQZqE0SoBPzRqqBOXa9QA="; - - buildInputs = [ ] ++ lib.optional stdenv.isDarwin Security; - - # Symlink to avoid conflict with pre-existing ht package - postInstall = '' - ln -s $out/bin/ht $out/bin/ht-rust - ''; - - doInstallCheck = true; - postInstallCheck = '' - $out/bin/ht-rust --help > /dev/null - ''; - - meta = with lib; { - description = "Yet another HTTPie clone in Rust"; - homepage = "https://github.com/ducaale/ht"; - license = licenses.mit; - maintainers = [ maintainers.payas ]; - }; -} |