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
30
pkgs/os-specific/linux/usermount/default.nix
Normal file
30
pkgs/os-specific/linux/usermount/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ lib, stdenv, fetchFromGitHub, pkg-config, dbus, libnotify, udisks2, gdk-pixbuf }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "usermount";
|
||||
version = "0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tom5760";
|
||||
repo = "usermount";
|
||||
rev = "0d6aba3c1f8fec80de502f5b92fd8b28041cc8e4";
|
||||
sha256 = "sha256-giMHUVYdAygiemYru20VxpQixr5aGgHhevNkHvkG9z4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ dbus libnotify udisks2 gdk-pixbuf ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-DENABLE_NOTIFICATIONS";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
mv usermount $out/bin/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/tom5760/usermount";
|
||||
description = "A simple tool to automatically mount removable drives using UDisks2 and D-Bus";
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue