nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 38 lines 890 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 rustPlatform, 5 pkg-config, 6 openssl, 7}: 8 9rustPlatform.buildRustPackage rec { 10 pname = "rustmission"; 11 version = "0.5.1"; 12 13 src = fetchFromGitHub { 14 owner = "intuis"; 15 repo = "rustmission"; 16 rev = "v${version}"; 17 hash = "sha256-vQ6MBbzmOBgD1kcF62NmQys737QEN9isvFN7L7mP8mk="; 18 }; 19 20 cargoHash = "sha256-GwSf/o90RO6LURIcm/kYA8oXmnCJ1OkM+eHkyZduOt0="; 21 22 nativeBuildInputs = [ pkg-config ]; 23 24 buildInputs = [ openssl ]; 25 26 # There is no tests 27 doCheck = false; 28 29 meta = { 30 description = "TUI for the Transmission daemon"; 31 homepage = "https://github.com/intuis/rustmission"; 32 changelog = "https://github.com/intuis/rustmission/releases/tag/v${version}"; 33 license = lib.licenses.gpl3Only; 34 mainProgram = "rustmission"; 35 maintainers = with lib.maintainers; [ anas ]; 36 platforms = with lib.platforms; unix ++ windows; 37 }; 38}