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
27
pkgs/os-specific/linux/targetcli/default.nix
Normal file
27
pkgs/os-specific/linux/targetcli/default.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ lib, python3, fetchFromGitHub }:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "targetcli";
|
||||
version = "2.1.54";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-iscsi";
|
||||
repo = "${pname}-fb";
|
||||
rev = "v${version}";
|
||||
sha256 = "1kbbvx0lba96ynr5iwws9jpi319m4rzph4bmcj7yfb37k8mi161v";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [ configshell rtslib ];
|
||||
|
||||
postInstall = ''
|
||||
install -D targetcli.8 -t $out/share/man/man8/
|
||||
install -D targetclid.8 -t $out/share/man/man8/
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A command shell for managing the Linux LIO kernel target";
|
||||
homepage = "https://github.com/open-iscsi/targetcli-fb";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue