![aleksana](/assets/img/avatar_default.png)
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
23 lines
531 B
Nix
23 lines
531 B
Nix
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "simpleproxy";
|
|
version = "3.5";
|
|
rev = "v.${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
inherit rev;
|
|
owner = "vzaliva";
|
|
repo = "simpleproxy";
|
|
sha256 = "1my9g4vp19dikx3fsbii4ichid1bs9b9in46bkg05gbljhj340f6";
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/vzaliva/simpleproxy";
|
|
description = "Simple TCP proxy";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = [ maintainers.montag451 ];
|
|
mainProgram = "simpleproxy";
|
|
};
|
|
}
|