Merge branch 'staging-next' into staging
This commit is contained in:
@@ -4,11 +4,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "orangefs";
|
||||
version = "2.9.7";
|
||||
version = "2.9.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.orangefs.org/current/source/orangefs-${version}.tar.gz";
|
||||
sha256 = "15669f5rcvn44wkas0mld0qmyclrmhbrw4bbbp66sw3a12vgn4sm";
|
||||
sha256 = "0c2yla615j04ygclfavh8g5miqhbml2r0zs2c5mvkacf9in7p7sq";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ bison flex perl autoreconfHook ];
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
{ stdenv, fetchFromGitHub, python3, makeWrapper }:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
|
||||
pname = "ubidump";
|
||||
version = "unstable-2019-09-11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nlitsme";
|
||||
repo = pname;
|
||||
rev = "0691f1a9a38604c2baf8c9af6b826eb2632af74a";
|
||||
sha256 = "1hiivlgni4r3nd5n2rzl5qzw6y2wpjpmyls5lybrc8imd6rmj3w2";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [ crcmod python-lzo ];
|
||||
|
||||
phases = [ "unpackPhase" "patchPhase" "installPhase" "installCheckPhase" ];
|
||||
|
||||
patchPhase = ''
|
||||
sed -i '1s;^;#!${python3.interpreter}\n;' ubidump.py
|
||||
patchShebangs ubidump.py
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -D -m755 ubidump.py $out/bin/ubidump
|
||||
wrapProgram $out/bin/ubidump --set PYTHONPATH $PYTHONPATH
|
||||
'';
|
||||
|
||||
installCheckPhase = ''
|
||||
$out/bin/ubidump -h > /dev/null
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "View or extract the contents of UBIFS images";
|
||||
homepage = "https://github.com/nlitsme/ubidump";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ sgo ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user