porsmo: init at 0.2.0
This commit is contained in:
parent
b3f5bcf0be
commit
593258bffc
2 changed files with 49 additions and 0 deletions
47
pkgs/applications/misc/porsmo/default.nix
Normal file
47
pkgs/applications/misc/porsmo/default.nix
Normal file
|
@ -0,0 +1,47 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, alsa-lib
|
||||
, stdenv
|
||||
, darwin
|
||||
, testers
|
||||
, porsmo
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "porsmo";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ColorCookie-dev";
|
||||
repo = "porsmo";
|
||||
rev = version;
|
||||
hash = "sha256-NOMEfS6RvB9513ZkcQi6cxBuhmALqqcI3onhua2MD+0=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-6RV1RUkWLaxHqvs2RqSe/2tDw+aPDoRBYUW1GxN18Go=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
rustPlatform.bindgenHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
alsa-lib
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.CoreAudio
|
||||
darwin.apple_sdk.frameworks.CoreFoundation
|
||||
];
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = porsmo;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pomodoro cli app in rust with timer and countdown";
|
||||
homepage = "https://github.com/ColorCookie-dev/porsmo";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ MoritzBoehme ];
|
||||
};
|
||||
}
|
|
@ -11570,6 +11570,8 @@ with pkgs;
|
|||
|
||||
poretools = callPackage ../applications/science/biology/poretools { };
|
||||
|
||||
porsmo = callPackage ../applications/misc/porsmo { };
|
||||
|
||||
pantum-driver = callPackage ../misc/drivers/pantum-driver {
|
||||
libjpeg8 = libjpeg.override { enableJpeg8 = true; };
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue