summary refs log tree commit diff
path: root/pkgs/games/shticker-book-unwritten/unwrapped.nix
diff options
context:
space:
mode:
authorLuke Granger-Brown <git@lukegb.com>2021-04-12 18:26:33 +0000
committerLuke Granger-Brown <git@lukegb.com>2021-04-12 18:49:01 +0000
commit08b22e605bc7d7560ef6ce567caa43f57178715f (patch)
treeeed46af25264ec81b18ba7a216beec55a84f6683 /pkgs/games/shticker-book-unwritten/unwrapped.nix
parent82ca81cd62c785b81bf530837c05babcb9cde8a5 (diff)
parent60daed57149403acbb622e48a003422eacea4c16 (diff)
downloadnixpkgs-08b22e605bc7d7560ef6ce567caa43f57178715f.tar
nixpkgs-08b22e605bc7d7560ef6ce567caa43f57178715f.tar.gz
nixpkgs-08b22e605bc7d7560ef6ce567caa43f57178715f.tar.bz2
nixpkgs-08b22e605bc7d7560ef6ce567caa43f57178715f.tar.lz
nixpkgs-08b22e605bc7d7560ef6ce567caa43f57178715f.tar.xz
nixpkgs-08b22e605bc7d7560ef6ce567caa43f57178715f.tar.zst
nixpkgs-08b22e605bc7d7560ef6ce567caa43f57178715f.zip
Merge remote-tracking branch 'upstream/staging-next' into down-integrate-staging
Diffstat (limited to 'pkgs/games/shticker-book-unwritten/unwrapped.nix')
-rw-r--r--pkgs/games/shticker-book-unwritten/unwrapped.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/games/shticker-book-unwritten/unwrapped.nix b/pkgs/games/shticker-book-unwritten/unwrapped.nix
new file mode 100644
index 00000000000..411bea6b00a
--- /dev/null
+++ b/pkgs/games/shticker-book-unwritten/unwrapped.nix
@@ -0,0 +1,20 @@
+{ fetchFromGitHub, lib, openssl, pkg-config, rustPlatform }:
+
+rustPlatform.buildRustPackage rec {
+  pname = "shticker-book-unwritten";
+  version = "1.0.3";
+
+  src = fetchFromGitHub {
+    owner = "JonathanHelianthicusDoe";
+    repo = "shticker_book_unwritten";
+    rev = "v${version}";
+    sha256 = "08lyxica0b0vvivybsvzigy2j7saar78mbz723y3g5hqrilfb5np";
+  };
+
+  cargoPatches = [ ./cargo-lock.patch ];
+  cargoSha256 = "1lnhdr8mri1ns9lxj6aks4vs2v4fvg7mcriwzwj78inpi1l0xqk5";
+
+  nativeBuildInputs = [ pkg-config ];
+
+  buildInputs = [ openssl ];
+}