git-review: 1.27.0 -> 1.28.0 (#59513)
* git-review: 1.27.0 -> 1.28.0 Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/git-review/versions * git-review: refactor - do not use fetchurl on mutable GitHub archives - postPatch is unneeded as argparse has been removed from requirements.txt upstream
This commit is contained in:
parent
5560607988
commit
e7f46f34f6
@ -1,20 +1,18 @@
|
|||||||
{ stdenv, fetchurl, pythonPackages} :
|
{ stdenv, fetchFromGitHub, pythonPackages} :
|
||||||
|
|
||||||
pythonPackages.buildPythonApplication rec {
|
pythonPackages.buildPythonApplication rec {
|
||||||
name = "git-review-${version}";
|
pname = "git-review";
|
||||||
version = "1.27.0";
|
version = "1.28.0";
|
||||||
|
|
||||||
# Manually set version because prb wants to get it from the git
|
# Manually set version because prb wants to get it from the git
|
||||||
# upstream repository (and we are installing from tarball instead)
|
# upstream repository (and we are installing from tarball instead)
|
||||||
PBR_VERSION = "${version}";
|
PBR_VERSION = "${version}";
|
||||||
|
|
||||||
postPatch = ''
|
src = fetchFromGitHub rec {
|
||||||
sed -i -e '/argparse/d' requirements.txt
|
owner = "openstack-infra";
|
||||||
'';
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
src = fetchurl rec {
|
sha256 = "1hgw1dkl94m3idv4izc7wf2j7al2c7nnsqywy7g53nzkv9pfv47s";
|
||||||
url = "https://github.com/openstack-infra/git-review/archive/${version}.tar.gz";
|
|
||||||
sha256 = "0smdkps9avnj58izyfc5m0amq8nafgs9iqlyaf7ncrlvypia1f3q";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with pythonPackages; [ pbr requests setuptools ];
|
propagatedBuildInputs = with pythonPackages; [ pbr requests setuptools ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user