nixpkgs/pkgs/applications/editors/joe/default.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

19 lines
465 B
Nix

{ stdenv, fetchurl } :
stdenv.mkDerivation rec {
version = "4.6";
pname = "joe";
src = fetchurl {
url = "mirror://sourceforge/joe-editor/${pname}-${version}.tar.gz";
sha256 = "1pmr598xxxm9j9dl93kq4dv36zyw0q2dh6d7x07hf134y9hhlnj9";
};
meta = with stdenv.lib; {
description = "A full featured terminal-based screen editor";
homepage = https://joe-editor.sourceforge.io;
license = licenses.gpl2;
platforms = platforms.unix;
};
}