summary refs log tree commit diff
path: root/pkgs/applications/blockchains/polkadot
diff options
context:
space:
mode:
authorBenjamin Hipple <bhipple@protonmail.com>2020-03-09 00:02:24 -0400
committerBenjamin Hipple <bhipple@protonmail.com>2020-03-09 00:02:24 -0400
commita709184ba31804321ef23ca626445b9b754b97e2 (patch)
tree35b2f0279777e2632b9b89ea80a4aefb93a3e6bb /pkgs/applications/blockchains/polkadot
parent3444075cd36fafb6aeecc6e86dd7e1c443228d4b (diff)
downloadnixpkgs-a709184ba31804321ef23ca626445b9b754b97e2.tar
nixpkgs-a709184ba31804321ef23ca626445b9b754b97e2.tar.gz
nixpkgs-a709184ba31804321ef23ca626445b9b754b97e2.tar.bz2
nixpkgs-a709184ba31804321ef23ca626445b9b754b97e2.tar.lz
nixpkgs-a709184ba31804321ef23ca626445b9b754b97e2.tar.xz
nixpkgs-a709184ba31804321ef23ca626445b9b754b97e2.tar.zst
nixpkgs-a709184ba31804321ef23ca626445b9b754b97e2.zip
polkadot: upgrade cargoSha256 and add maintainer note
While the package is broken and does not build, we can still recompute the
cargoSha256. I attempted to upgrade to the latest release, but that doesn't
build either.
Diffstat (limited to 'pkgs/applications/blockchains/polkadot')
-rw-r--r--pkgs/applications/blockchains/polkadot/default.nix15
1 files changed, 9 insertions, 6 deletions
diff --git a/pkgs/applications/blockchains/polkadot/default.nix b/pkgs/applications/blockchains/polkadot/default.nix
index cf83be9b50d..a919a305419 100644
--- a/pkgs/applications/blockchains/polkadot/default.nix
+++ b/pkgs/applications/blockchains/polkadot/default.nix
@@ -11,24 +11,27 @@ rustPlatform.buildRustPackage rec {
 
   src = fetchFromGitHub {
     owner = "paritytech";
+    # N.B. In 2018, the thing that was "polkadot" was split off into its own
+    # repo, so if this package is ever updated it should be changed to
+    # paritytech/polkadot, as per comment here:
+    # https://github.com/paritytech/polkadot#note
     repo = "substrate";
     rev = "19f4f4d4df3bb266086b4e488739f73d3d5e588c";
     sha256 = "0v7g03rbml2afw0splmyjh9nqpjg0ldjw09hyc0jqd3qlhgxiiyj";
-  }; 
-
-  # Delete this on next update; see #79975 for details
-  legacyCargoFetcher = true;
+  };
 
-  cargoSha256 = "0gc3w0cwdyk8f7cgpp9sfawczk3n6wd7q0nhfvk87sry71b8vvwq";
+  cargoSha256 = "1h5v7c7xi2r2wzh1pj6xidrg7dx23w3rjm88mggpq7574arijk4i";
 
   buildInputs = [ pkgconfig openssl openssl.dev ];
 
   meta = with stdenv.lib; {
     description = "Polkadot Node Implementation";
-    homepage = https://polkadot.network;
+    homepage = "https://polkadot.network";
     license = licenses.gpl3;
     maintainers = [ maintainers.akru ];
     platforms = platforms.linux;
+    # Last attempt at building this was on v0.7.22
+    # https://github.com/paritytech/polkadot/releases
     broken = true;
   };
 }