mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
porsmo: init at 0.2.0
This commit is contained in:
parent
b3f5bcf0be
commit
593258bffc
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 New Issue
Block a user