nixpkgs/pkgs/development/embedded/uisp/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

21 lines
595 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "uisp";
version = "20050207";
src = fetchurl {
url = "https://savannah.nongnu.org/download/uisp/uisp-${version}.tar.gz";
sha256 = "1bncxp5yxh9r1yrp04vvhfiva8livi1pwic7v8xj99q09zrwahvw";
};
env.NIX_CFLAGS_COMPILE = "-Wno-error";
meta = {
description = "Tool for AVR microcontrollers which can interface to many hardware in-system programmers";
mainProgram = "uisp";
license = lib.licenses.gpl2;
homepage = "https://savannah.nongnu.org/projects/uisp";
platforms = lib.platforms.linux;
};
}