rmlint: 2.0.0 -> 2.1.0
This commit is contained in:
parent
60d405f573
commit
839f3c3ab7
@ -4,15 +4,13 @@
|
|||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "rmlint-${version}";
|
name = "rmlint-${version}";
|
||||||
version = "2.0.0";
|
version = "2.1.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/sahib/rmlint/archive/v${version}.tar.gz";
|
url = "https://github.com/sahib/rmlint/archive/v${version}.tar.gz";
|
||||||
sha256 = "14jiswagipsmzxclcskn672ws4126p65l6hlzkkvanyv8gmpv90f";
|
sha256 = "17hqkx1ji6rbvliji18my16b23ig9d6v4azgypwl0fam2ar4rm4g";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./fix-scons.patch ];
|
|
||||||
|
|
||||||
configurePhase = "scons config";
|
configurePhase = "scons config";
|
||||||
|
|
||||||
buildInputs = [ gettext glib json_glib libelf pkgconfig scons sphinx utillinux ];
|
buildInputs = [ gettext glib json_glib libelf pkgconfig scons sphinx utillinux ];
|
||||||
|
@ -1,22 +0,0 @@
|
|||||||
diff --git b/SConstruct a/SConstruct
|
|
||||||
old mode 100644
|
|
||||||
new mode 100755
|
|
||||||
index a7fca2e..561007e
|
|
||||||
--- b/SConstruct
|
|
||||||
+++ a/SConstruct
|
|
||||||
@@ -404,11 +404,10 @@ options = dict(
|
|
||||||
SHLINKCOMSTR=link_shared_library_message,
|
|
||||||
LINKCOMSTR=link_program_message,
|
|
||||||
PREFIX=GetOption('prefix'),
|
|
||||||
- ENV={
|
|
||||||
- 'PATH': os.environ['PATH'],
|
|
||||||
- 'TERM': os.environ['TERM'],
|
|
||||||
- 'HOME': os.environ['HOME']
|
|
||||||
- }
|
|
||||||
+ ENV = dict([ (key, os.environ[key])
|
|
||||||
+ for key in os.environ
|
|
||||||
+ if key in ['PATH', 'TERM', 'HOME', 'PKG_CONFIG_PATH']
|
|
||||||
+ ])
|
|
||||||
)
|
|
||||||
|
|
||||||
if ARGUMENTS.get('VERBOSE') == "1":
|
|
Loading…
Reference in New Issue
Block a user