mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 02:05:02 +00:00
Merge master into staging-next
This commit is contained in:
@@ -8,14 +8,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "georss-ign-sismologia-client";
|
||||
version = "0.2";
|
||||
version = "0.3";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "exxamalte";
|
||||
repo = "python-georss-ign-sismologia-client";
|
||||
rev = "v${version}";
|
||||
sha256 = "1xylgvbdrpl3wxa6qqc8jma4c9520rld0pv28y3b6b0m07ab6ijl";
|
||||
sha256 = "sha256-7Jj6uWb4HyPAh3/XtVTy0N23bk33mlIiqlt9z/PW+4Y=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -1,19 +1,54 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, mercurial
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hg-evolve";
|
||||
version = "10.3.1";
|
||||
version = "10.3.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "03xwnadpvgna70n6pfxb7xdrszppdqrx5qmkbr1v0jzbh5rnzi6b";
|
||||
sha256 = "ba819732409d39ddd4ff2fc507dc921408bf30535d2d78313637b29eeac98860";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
checkInputs = [
|
||||
mercurial
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
||||
export TESTTMP=$(mktemp -d)
|
||||
export HOME=$TESTTMP
|
||||
cat <<EOF >$HOME/.hgrc
|
||||
[extensions]
|
||||
evolve =
|
||||
topic =
|
||||
EOF
|
||||
|
||||
# Shipped tests use the mercurial testing framework, and produce inconsistent results.
|
||||
# Do a quick smoke-test to see if things do what we expect.
|
||||
hg init $TESTTMP/repo
|
||||
pushd $TESTTMP/repo
|
||||
touch a
|
||||
hg add a
|
||||
hg commit -m "init a"
|
||||
hg topic something
|
||||
|
||||
touch b
|
||||
hg add b
|
||||
hg commit -m "init b"
|
||||
|
||||
echo hi > b
|
||||
hg amend
|
||||
|
||||
hg obslog
|
||||
popd
|
||||
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Enables the “changeset evolution” feature of Mercurial core";
|
||||
|
||||
Reference in New Issue
Block a user