diff options
author | William Casarin <jb55@jb55.com> | 2019-08-28 10:37:52 -0700 |
---|---|---|
committer | William Casarin <jb55@jb55.com> | 2019-08-29 05:01:42 -0700 |
commit | 72682e46546d6d024a29e2fde009372e03b45b9f (patch) | |
tree | 4f5c749f3fdff3f182d9f7b005339aa10fd53897 /pkgs/applications/blockchains/polkadot | |
parent | 58fd72f3e996856d5a4ba21ae25f87a82fe3e5dc (diff) |
tree: rename altcoins to blockchains
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat (limited to 'pkgs/applications/blockchains/polkadot')
-rw-r--r-- | pkgs/applications/blockchains/polkadot/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/applications/blockchains/polkadot/default.nix b/pkgs/applications/blockchains/polkadot/default.nix new file mode 100644 index 000000000000..26c9192ee6fa --- /dev/null +++ b/pkgs/applications/blockchains/polkadot/default.nix @@ -0,0 +1,30 @@ +{ stdenv +, fetchFromGitHub +, rustPlatform +, pkgconfig +, openssl +}: + +rustPlatform.buildRustPackage rec { + name = "polkadot-${version}"; + version = "0.2.17"; + + src = fetchFromGitHub { + owner = "paritytech"; + repo = "substrate"; + rev = "19f4f4d4df3bb266086b4e488739f73d3d5e588c"; + sha256 = "0v7g03rbml2afw0splmyjh9nqpjg0ldjw09hyc0jqd3qlhgxiiyj"; + }; + + cargoSha256 = "19xcxpbkrbygghz9qi52vzviksxg28m7ibvl359vlhqv1cjxmpsq"; + + buildInputs = [ pkgconfig openssl openssl.dev ]; + + meta = with stdenv.lib; { + description = "Polkadot Node Implementation"; + homepage = https://polkadot.network; + license = licenses.gpl3; + maintainers = [ maintainers.akru ]; + platforms = platforms.linux; + }; +} |