rink: 0.4.5 -> 0.5.0
This commit is contained in:
parent
5da2d61bd4
commit
2076487221
File diff suppressed because it is too large
Load Diff
|
@ -1,30 +1,27 @@
|
||||||
{ stdenv, fetchFromGitHub, rustPlatform, openssl, pkgconfig, gmp, ncurses }:
|
{ stdenv, fetchFromGitHub, rustPlatform, openssl, pkg-config, ncurses }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
version = "0.4.5";
|
version = "0.5.0";
|
||||||
pname = "rink";
|
pname = "rink";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tiffany352";
|
owner = "tiffany352";
|
||||||
repo = "rink-rs";
|
repo = "rink-rs";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0vl996y58a9b62d8sqrpfn2h8qkya7qbg5zqsmy7nxhph1vhbspj";
|
sha256 = "1z51n25hmgqkn4bm9yj18j8p4pk5i1x3f3z70vl1vx3v109jhff0";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Upstreamed in https://github.com/tiffany352/rink-rs/pull/53
|
cargoSha256 = "0p63py8q4iqj5rrsir9saj7dvkrafx63z493k7p5xb2mah7b21lb";
|
||||||
cargoPatches = [ ./cargo-lock.patch ];
|
|
||||||
|
|
||||||
cargoSha256 = "0shlh0m9k0iqxpv9zmiw7a6v197swrvpz9x6qzhximzkdwni9gz9";
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
buildInputs = [ openssl ncurses ];
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
|
||||||
buildInputs = [ openssl gmp ncurses ];
|
|
||||||
|
|
||||||
# Some tests fail and/or attempt to use internet servers.
|
# Some tests fail and/or attempt to use internet servers.
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Unit-aware calculator";
|
description = "Unit-aware calculator";
|
||||||
homepage = "https://rink.tiffnix.com";
|
homepage = "https://rinkcalc.app";
|
||||||
license = with licenses; [ mpl20 gpl3 ];
|
license = with licenses; [ mpl20 gpl3 ];
|
||||||
maintainers = with maintainers; [ sb0 filalex77 ];
|
maintainers = with maintainers; [ sb0 filalex77 ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue