uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
34
pkgs/tools/networking/http-prompt/default.nix
Normal file
34
pkgs/tools/networking/http-prompt/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ lib, fetchFromGitHub, python3Packages, httpie }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "http-prompt";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "v${version}";
|
||||
repo = "http-prompt";
|
||||
owner = "eliangcs";
|
||||
sha256 = "0kngz2izcqjphbrdkg489p0xmf65xjc8ki1a2szcc8sgwc7z74xy";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
click
|
||||
httpie
|
||||
parsimonious
|
||||
(python.pkgs.callPackage ../../../development/python-modules/prompt-toolkit/1.nix {})
|
||||
pygments
|
||||
six
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
$out/bin/${pname} --version | grep -q "${version}"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "An interactive command-line HTTP client featuring autocomplete and syntax highlighting";
|
||||
homepage = "https://github.com/eliangcs/http-prompt";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ matthiasbeyer ];
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue