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
28
pkgs/servers/udpt/default.nix
Normal file
28
pkgs/servers/udpt/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ lib, rustPlatform, fetchFromGitHub }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "udpt";
|
||||
version = "3.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "naim94a";
|
||||
repo = "udpt";
|
||||
rev = "${pname}-${version}";
|
||||
sha256 = "sha256-G3LzbV3b1Y/2SPIBS1kZDuLuGF5gV/H1LFBRhevpdjU=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-ebLVyUB65fW8BWctxXnYxrnl/2IESd4YJXeiMsMXn9s=";
|
||||
|
||||
postInstall = ''
|
||||
install -D udpt.toml $out/share/udpt/udpt.toml
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A lightweight UDP torrent tracker";
|
||||
homepage = "https://naim94a.github.io/udpt";
|
||||
license = lib.licenses.gpl3;
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = with lib.maintainers; [ makefu ];
|
||||
mainProgram = "udpt-rs";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue