blob: 1d7a600f6ab30d756eb729a8a3c5e47017cda504 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "xtr";
version = "0.1.9";
src = fetchFromGitHub {
owner = "woboq";
repo = "tr";
rev = "v${version}";
hash = "sha256-Un7p8n0+rSyDzEaUGuFXXWUDShR6AZgIYza40ahdZU8=";
};
cargoLock = {
lockFile = ./Cargo.lock;
};
postPatch = "ln -s ${./Cargo.lock} ./Cargo.lock";
meta = {
maintainers = [ lib.maintainers.vikanezrimaya ];
license = lib.licenses.agpl3Only;
homepage = "https://github.com/woboq/tr";
};
}
|