pmbootstrap: 1.39.2 > 1.40.0
This commit is contained in:
parent
5965f0698f
commit
043543d594
|
@ -1,13 +1,13 @@
|
||||||
{ stdenv, lib, git, openssl, makeWrapper, buildPythonApplication, pytestCheckHook, ps
|
{ stdenv, lib, git, openssl, makeWrapper, buildPythonApplication, pytestCheckHook, ps
|
||||||
, fetchPypi, fetchFromGitLab }:
|
, fetchPypi, fetchFromGitLab, sudo }:
|
||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "pmbootstrap";
|
pname = "pmbootstrap";
|
||||||
version = "1.39.0";
|
version = "1.40.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "13krdb0xmwgldfn8izm1x3j6i6s4n9j8n8n0p4g5kd74ygkvfczz";
|
sha256 = "sha256-b/9NEURp42d/j/Fk8NUS0ZAG99q56eg0pEU/xkFnvrM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
repo = fetchFromGitLab {
|
repo = fetchFromGitLab {
|
||||||
|
@ -15,12 +15,12 @@ buildPythonApplication rec {
|
||||||
owner = "postmarketOS";
|
owner = "postmarketOS";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0mrhgi5y3jwd922cmm2niy9ia0g8p6bsqjjxg523yandshpa3683";
|
sha256 = "sha256-2yyHAHoIlwHX2+LbwwK7AGrBDZlfkhtCcKAKHdJMBdQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
pmb_test = "${repo}/test";
|
pmb_test = "${repo}/test";
|
||||||
|
|
||||||
checkInputs = [ pytestCheckHook git openssl ps ];
|
checkInputs = [ pytestCheckHook git openssl ps sudo ];
|
||||||
|
|
||||||
# Add test dependency in PATH
|
# Add test dependency in PATH
|
||||||
preCheck = "export PYTHONPATH=$PYTHONPATH:${pmb_test}";
|
preCheck = "export PYTHONPATH=$PYTHONPATH:${pmb_test}";
|
||||||
|
@ -81,6 +81,7 @@ buildPythonApplication rec {
|
||||||
"test_run_abuild"
|
"test_run_abuild"
|
||||||
"test_run_core"
|
"test_run_core"
|
||||||
"test_shell_escape"
|
"test_shell_escape"
|
||||||
|
"test_skip_already_built"
|
||||||
"test_switch_to_channel_branch"
|
"test_switch_to_channel_branch"
|
||||||
"test_version"
|
"test_version"
|
||||||
];
|
];
|
||||||
|
@ -91,7 +92,7 @@ buildPythonApplication rec {
|
||||||
description = "Sophisticated chroot/build/flash tool to develop and install postmarketOS";
|
description = "Sophisticated chroot/build/flash tool to develop and install postmarketOS";
|
||||||
homepage = "https://gitlab.com/postmarketOS/pmbootstrap";
|
homepage = "https://gitlab.com/postmarketOS/pmbootstrap";
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = with maintainers; [ payas ];
|
maintainers = with maintainers; [ onny ];
|
||||||
# https://github.com/NixOS/nixpkgs/pull/146576#issuecomment-974267651
|
# https://github.com/NixOS/nixpkgs/pull/146576#issuecomment-974267651
|
||||||
broken = stdenv.isDarwin && stdenv.isAarch64;
|
broken = stdenv.isDarwin && stdenv.isAarch64;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue