nixpkgs/pkgs/applications/editors/wily/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

28 lines
621 B
Nix

{ stdenv, fetchurl, libX11, libXt } :
stdenv.mkDerivation rec {
version = "0.13.42";
pname = "wily";
src = fetchurl {
url = "mirror://sourceforge/wily/${pname}-${version}.tar.gz";
sha256 = "1jy4czk39sh365b0mjpj4d5wmymj98x163vmwzyx3j183jqrhm2z";
};
buildInputs = [ libX11 libXt ];
configureFlags = [ "--prefix=$(out)" ];
preInstall = ''
mkdir -p $out/bin
'';
meta = with stdenv.lib; {
description = "An emulation of ACME";
homepage = http://wily.sourceforge.net;
license = licenses.artistic1;
maintainers = [ maintainers.vrthra ];
platforms = platforms.unix;
};
}