mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 06:31:20 +00:00
commit
1c9af6e7c1
@ -1075,6 +1075,21 @@
|
||||
githubId = 510553;
|
||||
name = "Jos van Bakel";
|
||||
};
|
||||
cab404 = {
|
||||
email = "cab404@mailbox.org";
|
||||
github = "cab404";
|
||||
githubId = 6453661;
|
||||
name = "Vladimir Serov";
|
||||
keys = [
|
||||
# compare with https://keybase.io/cab404
|
||||
{ longkeyid = "1BB96810926F4E715DEF567E6BA7C26C3FDF7BB3";
|
||||
fingerprint = "rsa3072/0xCBDECF658C38079E";
|
||||
}
|
||||
{ longkeyid = "1EBC648C64D6045463013B3EB7EFFC271D55DB8A";
|
||||
fingerprint = "ed25519/0xB7EFFC271D55DB8A";
|
||||
}
|
||||
];
|
||||
};
|
||||
calbrecht = {
|
||||
email = "christian.albrecht@mayflower.de";
|
||||
github = "calbrecht";
|
||||
|
38
pkgs/development/tools/misc/micronucleus/default.nix
Normal file
38
pkgs/development/tools/misc/micronucleus/default.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{
|
||||
pkgs
|
||||
, stdenv
|
||||
, libusb
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "micronucleus";
|
||||
version = "2.04";
|
||||
|
||||
sourceRoot = "source/commandline";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "micronucleus";
|
||||
repo = "micronucleus";
|
||||
rev = version;
|
||||
sha256 = "14msy9amlbflw5mqrbs57b7bby3nsgx43srr7215zyhfdgsla0in";
|
||||
};
|
||||
|
||||
buildInputs = [ libusb ];
|
||||
makeFlags = stdenv.lib.optionals stdenv.isDarwin [ "CC=cc" ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
mkdir -p $out/lib/udev
|
||||
cp micronucleus $out/bin
|
||||
cp 49-micronucleus.rules $out/lib/udev
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Upload tool for micronucleus";
|
||||
homepage = "https://github.com/micronucleus/micronucleus";
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.cab404 ];
|
||||
};
|
||||
|
||||
}
|
@ -13217,6 +13217,8 @@ in
|
||||
|
||||
microsoft_gsl = callPackage ../development/libraries/microsoft_gsl { };
|
||||
|
||||
micronucleus = callPackage ../development/tools/misc/micronucleus { };
|
||||
|
||||
mimalloc = callPackage ../development/libraries/mimalloc { };
|
||||
|
||||
minizip = callPackage ../development/libraries/minizip { };
|
||||
|
Loading…
Reference in New Issue
Block a user