dura: init at 0.1.0
Co-authored-by: Dee Anzorge <d.anzorge@gmail.com>
This commit is contained in:
parent
acbc33e84f
commit
8cb070da13
2 changed files with 42 additions and 0 deletions
40
pkgs/development/tools/misc/dura/default.nix
Normal file
40
pkgs/development/tools/misc/dura/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
{ lib, fetchFromGitHub, rustPlatform, openssl, pkg-config }:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "dura";
|
||||||
|
version = "0.1.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "tkellogg";
|
||||||
|
repo = "dura";
|
||||||
|
rev = "v0.1.0";
|
||||||
|
sha256 = "sha256-XnsR1oL9iImtj0X7wJ8Pp/An0/AVF5y+sD551yX4IGo=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "sha256-+Tq0a5cs2XZoT7yzTf1oIPd3kgD6SyrQqxQ1neTcMwk=";
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
openssl
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A background process that saves uncommited changes on git";
|
||||||
|
longDescription = ''
|
||||||
|
Dura is a background process that watches your Git repositories and
|
||||||
|
commits your uncommitted changes without impacting HEAD, the current
|
||||||
|
branch, or the Git index (staged files). If you ever get into an
|
||||||
|
"oh snap!" situation where you think you just lost days of work,
|
||||||
|
checkout a "dura" branch and recover.
|
||||||
|
'';
|
||||||
|
homepage = "https://github.com/tkellogg/dura";
|
||||||
|
license = licenses.asl20;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ drupol ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -14602,6 +14602,8 @@ with pkgs;
|
||||||
|
|
||||||
drush = callPackage ../development/tools/misc/drush { };
|
drush = callPackage ../development/tools/misc/drush { };
|
||||||
|
|
||||||
|
dura = callPackage ../development/tools/misc/dura { };
|
||||||
|
|
||||||
dwfv = callPackage ../applications/science/electronics/dwfv { };
|
dwfv = callPackage ../applications/science/electronics/dwfv { };
|
||||||
|
|
||||||
dwz = callPackage ../development/tools/misc/dwz { };
|
dwz = callPackage ../development/tools/misc/dwz { };
|
||||||
|
|
Loading…
Reference in a new issue