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
31
pkgs/development/tools/database/pg_activity/default.nix
Normal file
31
pkgs/development/tools/database/pg_activity/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ python3Packages, fetchFromGitHub, lib }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "pg_activity";
|
||||
version = "2.3.1";
|
||||
disabled = python3Packages.pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dalibo";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-oStoZVFf0g1Dj2m+T+8caiKS0o1CnhtQNe/GbnlVUCM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
attrs
|
||||
blessed
|
||||
humanize
|
||||
psutil
|
||||
psycopg2
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pgactivity" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A top like application for PostgreSQL server activity monitoring";
|
||||
homepage = "https://github.com/dalibo/pg_activity";
|
||||
license = licenses.postgresql;
|
||||
maintainers = with maintainers; [ mausch ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue