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/development/python-modules/pyatome/default.nix
Normal file
34
pkgs/development/python-modules/pyatome/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, requests
|
||||
, simplejson
|
||||
, fake-useragent
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyatome";
|
||||
version = "0.1.1";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "pyAtome";
|
||||
inherit version;
|
||||
sha256 = "7282e7ec258c69d4ddf2a5754ff07680a1ac92f9bfb478d601fd9e944fccd834";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests simplejson fake-useragent ];
|
||||
|
||||
# no tests in PyPI tarballs
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pyatome"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module to get energy consumption data from Atome";
|
||||
homepage = "https://github.com/baqs/pyAtome";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ uvnikita ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue