Files
nixpkgs/pkgs/by-name/sc/scom/package.nix
quantenzitrone 44560ee9f7 various: make all uses of fixed point builders use finalAttrs as argument
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
2026-02-06 23:22:29 +01:00

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;
};
})