summary refs log tree commit diff
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2021-09-13 11:27:50 +0200
committerVladimír Čunát <v@cunat.cz>2021-09-13 11:27:50 +0200
commit28b6a91047e796b1578120342701dcb89838e4ed (patch)
tree3a2e14bc989a994c3375199a46e2d6ef2208e31b
parentd6f028d12d2d7fe963bd81861f7b14de91a0a9dc (diff)
downloadnixpkgs-28b6a91047e796b1578120342701dcb89838e4ed.tar
nixpkgs-28b6a91047e796b1578120342701dcb89838e4ed.tar.gz
nixpkgs-28b6a91047e796b1578120342701dcb89838e4ed.tar.bz2
nixpkgs-28b6a91047e796b1578120342701dcb89838e4ed.tar.lz
nixpkgs-28b6a91047e796b1578120342701dcb89838e4ed.tar.xz
nixpkgs-28b6a91047e796b1578120342701dcb89838e4ed.tar.zst
nixpkgs-28b6a91047e796b1578120342701dcb89838e4ed.zip
libssh2: temporarily add separate 1.10.0
This is an attempt to side-step broken builtins.fetchurl and get
this tarball into cache, so that staging rebuild might proceed.
-rw-r--r--pkgs/development/libraries/libssh2/1_10.nix10
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libssh2/1_10.nix b/pkgs/development/libraries/libssh2/1_10.nix
new file mode 100644
index 00000000000..edba7a84ef2
--- /dev/null
+++ b/pkgs/development/libraries/libssh2/1_10.nix
@@ -0,0 +1,10 @@
+{ libssh2, fetchurl }:
+
+libssh2.overrideAttrs (attrs: rec {
+  version = "1.10.0";
+  src = fetchurl {
+    url = with attrs; "${meta.homepage}/download/${pname}-${version}.tar.gz";
+    sha256 = "sha256-LWTpDz3tOUuR06LndMogOkF59prr7gMAPlpvpiHkHVE=";
+  };
+  patches = [];
+})
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 1297600cf9f..06a53cc4ea9 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -17526,6 +17526,8 @@ with pkgs;
   libssh = callPackage ../development/libraries/libssh { };
 
   libssh2 = callPackage ../development/libraries/libssh2 { };
+  #FIXME: temporary attribute
+  libssh2_1_10 = callPackage ../development/libraries/libssh2/1_10.nix { };
 
   libstartup_notification = callPackage ../development/libraries/startup-notification { };