From ee0590825de5e96b9b52b81a749c88d2989093b9 Mon Sep 17 00:00:00 2001 From: hegde-atri Date: Wed, 7 Aug 2024 15:53:20 +0100 Subject: [PATCH] init: colcon-cd packaging. Adding colcon-cd. colcon-cd is a shell function for colcon-core to change current working directory --- pkgs/colcon/cd.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 pkgs/colcon/cd.nix diff --git a/pkgs/colcon/cd.nix b/pkgs/colcon/cd.nix new file mode 100644 index 0000000000..fe14f1066d --- /dev/null +++ b/pkgs/colcon/cd.nix @@ -0,0 +1,22 @@ +{ lib, buildPythonPackage, fetchPypi, colcon-core, colcon-cd }: + +buildPythonPackage rec { + pname = "colcon-cd"; + version = "0.1.1"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-PnCjK30WuBanxyGCvbIN+YX/wBZ47Jxn1EZZgUphmH0="; + }; + + propagatedBuildInputs = [ colcon-core colcon-cd ]; + + doCheck = false; + + meta = with lib; { + description = "A shell function for colcon-core to change the current working directory"; + homepage = "https://github.com/colcon/colcon-cd"; + license = licenses.asl20; + maintainers = with maintainers; [ lopsided98 ]; + }; +}