nixpkgs-suyu/pkgs/applications/networking/firehol/iprange.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

18 lines
493 B
Nix

{ 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 stdenv.lib; {
description = "manage IP ranges";
homepage = https://github.com/firehol/iprange;
license = licenses.gpl2;
maintainers = with maintainers; [ geistesk ];
};
}