mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 20:00:10 +00:00
some of these were just typos like `finalAttr`, `finalAtts` or `finaAttrs` some of these were using `self`, `final`, `finalPackage`, `attrs` or `_` some of these were wrong by using `oldAttrs` or `finalPackages` other than the nixos manual this shouldn't create any rebuilds
30 lines
658 B
Nix
30 lines
658 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
}:
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "scom";
|
|
version = "1.2.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "crash-systems";
|
|
repo = "scom";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-eFnCXMrks5V6o+0+vMjR8zaCdkc+hC3trSS+pOh4Y6U=";
|
|
};
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
|
|
|
meta = {
|
|
description = "Minimal serial communication tool";
|
|
homepage = "https://github.com/crash-systems/scom";
|
|
mainProgram = "scom";
|
|
license = lib.licenses.gpl3Plus;
|
|
maintainers = with lib.maintainers; [ savalet ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
})
|