-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.nix
More file actions
29 lines (23 loc) · 725 Bytes
/
Copy pathpackage.nix
File metadata and controls
29 lines (23 loc) · 725 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib, fetchFromGitHub, pkg-config, openssl, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "hashcards";
version = "0.1.0";
src = fetchFromGitHub {
owner = "eudoxia0";
repo = pname;
rev = "e6b9bd83f870fcc46b807529c7bf05226586bb5b";
hash = "sha256-+mRNkO2OJObT0DvZGNpJ6zeLg7HgT4dE6/WB08czzY0=";
};
cargoHash = "sha256-2Rzc30QVDTsSEk3DLxqvPFN/Bu++1WVXFDMmvFCUAdU=";
nativeBuildInputs = [
openssl
pkg-config
];
PKG_CONFIG_PATH = "${openssl.dev}/lib/pkgconfig";
meta = {
description = "A plain text-based spaced repetition system.";
homepage = "https://github.com/eudoxia0/hashcards";
license = lib.licenses.asl20;
maintainers = [ "rmgaray" ];
};
}