swig: use pname and standardize meta
- pname makes it easier to override the version in an overlay and looks generally cleaner - Updated the meta sections to match between the various versions No real functional change, just cleanup.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre, buildPackages }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "swig-${version}";
|
||||
pname = "swig";
|
||||
version = "3.0.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
@@ -17,8 +17,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
configureFlags = [ "--without-tcl" ];
|
||||
|
||||
# Disable ccache documentation as it needs yodl
|
||||
postPatch = ''
|
||||
# Disable ccache documentation as it need yodl
|
||||
sed -i '/man1/d' CCache/Makefile.in
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user