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
41
pkgs/applications/version-management/pijul/default.nix
Normal file
41
pkgs/applications/version-management/pijul/default.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{ lib, stdenv
|
||||
, fetchCrate
|
||||
, rustPlatform
|
||||
, pkg-config
|
||||
, libsodium
|
||||
, openssl
|
||||
, xxHash
|
||||
, zstd
|
||||
, darwin
|
||||
, gitImportSupport ? true
|
||||
, libgit2 ? null
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "pijul";
|
||||
version = "1.0.0-beta.1";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit version pname;
|
||||
sha256 = "sha256-XdbZFWtHKXjcGV1vYn7MYdevW+Vc/IKON1DOU49Kzlo=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-9kPeJ0tOhA4oqFOdwGDkXMnNViklMlNO7VbbWXYrk3I=";
|
||||
|
||||
doCheck = false;
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ openssl libsodium xxHash zstd ]
|
||||
++ (lib.optionals gitImportSupport [ libgit2 ])
|
||||
++ (lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
||||
CoreServices Security SystemConfiguration
|
||||
]));
|
||||
|
||||
buildFeatures = lib.optional gitImportSupport "git";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A distributed version control system";
|
||||
homepage = "https://pijul.org";
|
||||
license = with licenses; [ gpl2Plus ];
|
||||
maintainers = with maintainers; [ gal_bolle dywedir fabianhjr ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue