nixpkgs/pkgs/applications/networking/firehol/iprange.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

20 lines
518 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "iprange";
version = "1.0.4";
src = fetchurl {
url = "https://github.com/firehol/iprange/releases/download/v${version}/iprange-${version}.tar.xz";
sha256 = "0rymw4ydn09dng34q4g5111706fyppzs2gd5br76frgvfj4x2f71";
};
meta = with lib; {
description = "manage IP ranges";
mainProgram = "iprange";
homepage = "https://github.com/firehol/iprange";
license = licenses.gpl2;
maintainers = with maintainers; [ oxzi ];
};
}