effitask: 1.4.0 -> 1.4.1, fix build, remove patch

This commit is contained in:
figsoda 2021-10-07 09:18:02 -04:00
parent c499458529
commit 9d838fe0b9
2 changed files with 7 additions and 1100 deletions

File diff suppressed because it is too large Load diff

View file

@ -1,32 +1,30 @@
{ lib, stdenv { lib
, rustPlatform , rustPlatform
, fetchFromGitHub , fetchFromGitHub
, pkg-config , pkg-config
, openssl , openssl
, gtk3 , gtk3
, stdenv
, rust , rust
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "effitask"; pname = "effitask";
version = "1.4.0"; version = "1.4.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sanpii"; owner = "sanpii";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "09bffxdp43s8b1rpmsgqr2kyz3i4jbd2yrwbxw21fj3sf3mwb9ig"; sha256 = "sha256-nZn+mINIqAnaCKZCiywG8/BOPx6TlSe0rKV/8gcW/B4=";
}; };
# workaround for missing Cargo.lock file https://github.com/sanpii/effitask/issues/48 cargoSha256 = "sha256-aCjZRJNsxx75ghK0N95Q9w0h5H5mW9/77j/fumDrvyM=";
cargoPatches = [ ./cargo-lock.patch ];
cargoSha256 = "1a80kf95kr94l6jzxdj4i09x1342x358fqjy6119qjg3q3bj0y3p";
buildInputs = [ openssl gtk3 ];
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl gtk3 ];
# default installPhase don't install assets # default installPhase don't install assets
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall