nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 30 lines 804 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5}: 6rustPlatform.buildRustPackage rec { 7 pname = "xan"; 8 version = "0.51.0"; 9 10 src = fetchFromGitHub { 11 owner = "medialab"; 12 repo = "xan"; 13 tag = version; 14 hash = "sha256-wfA8yyIFzwYkd/nuSOFv6Z7aDhBZiYzs2E/Pxouqicw="; 15 }; 16 17 cargoHash = "sha256-8FJTiZuLRvHdDAYf3M0tWfT7BtCVuBlnIzmUMgBo8aA="; 18 19 # FIXME: tests fail and I do not have the time to investigate. Temporarily disable 20 # tests so that we can manually run and test the package for packaging purposes. 21 doCheck = false; 22 23 meta = { 24 description = "Command line tool to process CSV files directly from the shell"; 25 homepage = "https://github.com/medialab/xan"; 26 license = lib.licenses.mit; 27 maintainers = with lib.maintainers; [ NotAShelf ]; 28 mainProgram = "xan"; 29 }; 30}