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
44
pkgs/development/python-modules/watermark/default.nix
Normal file
44
pkgs/development/python-modules/watermark/default.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildPythonPackage
|
||||
, importlib-metadata
|
||||
, ipython
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "watermark";
|
||||
version = "2.3.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rasbt";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-E3UxdGlxTcvkiKa3RoG9as6LybyW+QrCUZvA9VHwxlk=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
ipython
|
||||
] ++ lib.optionals (pythonOlder "3.8") [
|
||||
importlib-metadata
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"watermark"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "IPython extension for printing date and timestamps, version numbers, and hardware information";
|
||||
homepage = "https://github.com/rasbt/watermark";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ nphilou ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue