at 22.05-pre 38 lines 931 B view raw
1{ lib, fetchFromGitHub 2, libiconv 3, openssl 4, pkg-config 5, rustPlatform 6, stdenv 7, Security 8, SystemConfiguration 9}: 10 11rustPlatform.buildRustPackage rec { 12 pname = "git-quickfix"; 13 version = "0.0.4"; 14 15 src = fetchFromGitHub { 16 owner = "siedentop"; 17 repo = pname; 18 rev = "v${version}"; 19 sha256 = "sha256-JdRlrNzWMPS3yG1UvKKtHVRix3buSm9jfSoAUxP35BY="; 20 }; 21 22 nativeBuildInputs = [ pkg-config ]; 23 buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ 24 Security 25 SystemConfiguration 26 libiconv 27 ]; 28 29 cargoSha256 = "sha256-ENeHPhEBniR9L3J5el6QZrIS1Q4O0pNiSzJqP1aQS9Q="; 30 31 meta = with lib; { 32 description = "Quickfix allows you to commit changes in your git repository to a new branch without leaving the current branch"; 33 homepage = "https://github.com/siedentop/git-quickfix"; 34 license = licenses.gpl3; 35 platforms = platforms.all; 36 maintainers = with maintainers; [ msfjarvis ]; 37 }; 38}