nix package for ord
This commit is contained in:
commit
789189180e
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
result
|
25
default.nix
Normal file
25
default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ lib, fetchFromGitHub , rustPlatform , pkg-config, openssl }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "ord";
|
||||
version = "0.4.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "casey";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-jZUW8tL1kS9hotMteJNGtiHaw0MqiFDgyH3+DeQ5L00=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-HjmX7r8y6ILatUlBjiBp39p36CY2kWj1IUKlSw7fKGk=";
|
||||
|
||||
nativeBuildInputs = [pkg-config];
|
||||
buildInputs = [openssl];
|
||||
|
||||
meta = with lib; {
|
||||
description = "ord is an index, block explorer, and command-line wallet. Ordinal theory imbues satoshis with numismatic value, allowing them to collected and traded as curios.";
|
||||
homepage = "https://github.com/casey/ord";
|
||||
license = with licenses; [cc0];
|
||||
mainProgram = "ord";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user