mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #15331 from colemickens/fix_mitmproxy
pythonPackages.mitmproxy: fetchurl -> fetchFromGitHub
This commit is contained in:
commit
b10659196b
1 changed files with 5 additions and 3 deletions
|
@ -12201,9 +12201,11 @@ in modules // {
|
|||
name = "${baseName}-${version}";
|
||||
version = "0.14";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url ="https://github.com/mitmproxy/mitmproxy/archive/v${version}.tar.gz";
|
||||
sha256 = "072yihnrv78lffk2r12jk7phs4c8mc1gs4y96cp9rg63vw6w1fry";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "mitmproxy";
|
||||
repo = "mitmproxy";
|
||||
rev = "v${version}";
|
||||
sha256 = "1zxw4yviryy0v53vhccgqb7f5d3fga16dy9kp1xwp6b59w0fcc2g";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [
|
||||
|
|
Loading…
Reference in a new issue