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
42
pkgs/development/python-modules/grip/default.nix
Normal file
42
pkgs/development/python-modules/grip/default.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
# Python bits:
|
||||
, buildPythonPackage
|
||||
, pytest
|
||||
, responses
|
||||
, docopt
|
||||
, flask
|
||||
, markdown
|
||||
, path-and-address
|
||||
, pygments
|
||||
, requests
|
||||
, tabulate
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "grip";
|
||||
version = "4.6.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "joeyespo";
|
||||
repo = "grip";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-CHL2dy0H/i0pLo653F7aUHFvZHTeZA6jC/rwn1KrEW4=";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest responses ];
|
||||
|
||||
propagatedBuildInputs = [ docopt flask markdown path-and-address pygments requests tabulate ];
|
||||
|
||||
checkPhase = ''
|
||||
export PATH="$PATH:$out/bin"
|
||||
py.test -xm "not assumption"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Preview GitHub Markdown files like Readme locally before committing them";
|
||||
homepage = "https://github.com/joeyespo/grip";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ koral ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue