nixpkgs-suyu/pkgs/development/libraries/libast/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

22 lines
544 B
Nix

{ stdenv, fetchurl
, pkgconfig }:
stdenv.mkDerivation rec {
pname = "libast";
version = "0.7.1";
src = fetchurl {
url = "http://www.eterm.org/download/${pname}-${version}.tar.gz";
sha256 = "1w7bs46r4lykfd83kc3bg9i1rxzzlb4ydk23ikf8mx8avz05q1aj";
};
nativeBuildInputs = [ pkgconfig ];
meta = with stdenv.lib; {
description = "Library of Assorted Spiffy Things";
homepage = https://www.eterm.org;
license = licenses.bsd2;
maintainers = [ maintainers.AndersonTorres ];
platforms = platforms.unix;
};
}