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
33
pkgs/development/python-modules/graphite_beacon/default.nix
Normal file
33
pkgs/development/python-modules/graphite_beacon/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ lib, buildPythonPackage, fetchPypi
|
||||
, tornado_5, pyyaml, funcparserlib
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "graphite_beacon";
|
||||
version = "0.27.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "03bp4wyfn3xhcqyvs5hnk1n87m4smsmm1p7qp459m7j8hwpbq2ks";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ tornado_5 pyyaml funcparserlib ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt --replace "==" ">="
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "graphite_beacon" ];
|
||||
|
||||
passthru.tests = {
|
||||
nixos = nixosTests.graphite;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple alerting application for Graphite metrics";
|
||||
homepage = "https://github.com/klen/graphite-beacon";
|
||||
maintainers = [ maintainers.offline ];
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue