mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
break-time: init at 0.1.1
This commit is contained in:
parent
27f514ac0d
commit
f1d3856fa3
45
pkgs/applications/misc/break-time/default.nix
Normal file
45
pkgs/applications/misc/break-time/default.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{ fetchFromGitHub
|
||||
, glib
|
||||
, gtk3
|
||||
, openssl
|
||||
, pkg-config
|
||||
, python3
|
||||
, rustPlatform
|
||||
, stdenv
|
||||
, wrapGAppsHook
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "break-time";
|
||||
version = "0.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cdepillabout";
|
||||
repo = "break-time";
|
||||
rev = "v${version}";
|
||||
sha256 = "18p9gfp0inbnjsc7af38fghyklr7qnl2kkr25isfy9d5m8cpxqc6";
|
||||
};
|
||||
|
||||
cargoSha256 = "0brmgrxhspcpcarm4lvnl95dw2n96r20w736giv18xcg7d5jmgca";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
python3 # needed for Rust xcb package
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
gtk3
|
||||
openssl
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Break timer that forces you to take a break";
|
||||
homepage = "https://github.com/cdepillabout/break-time";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ cdepillabout ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -19166,6 +19166,8 @@ in
|
||||
|
||||
brave = callPackage ../applications/networking/browsers/brave { };
|
||||
|
||||
break-time = callPackage ../applications/misc/break-time { };
|
||||
|
||||
breezy = with python3Packages; toPythonApplication breezy;
|
||||
|
||||
notmuch-bower = callPackage ../applications/networking/mailreaders/notmuch-bower { };
|
||||
|
Loading…
Reference in New Issue
Block a user