mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-11 18:24:50 +03:00
Move base overlays packages to a separate directory.
This commit is contained in:
parent
00c03555a3
commit
1c4a048137
24 changed files with 23 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
self: super:
|
||||
with import ./lib/mk-overlay.nix { inherit (super) lib; };
|
||||
applyOverlays self super [
|
||||
(import ./base.nix)
|
||||
(import ./pkgs)
|
||||
(import ./distros)
|
||||
]
|
||||
|
|
20
pkgs/bson/default.nix
Normal file
20
pkgs/bson/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, dateutil }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bson";
|
||||
version = "0.5.9";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0n01axc6vnszmbz1mx64d2blrb78hbcvlnl4v4a5h39mzb8nv844";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ dateutil ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Independent BSON codec for Python that doesn't depend on MongoDB.";
|
||||
homepage = "https://github.com/py-bson/bson";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ lopsided98 ];
|
||||
};
|
||||
}
|
|
@ -2,6 +2,8 @@ self: super: with super.lib; let
|
|||
|
||||
pythonOverridesFor = python: python.override (old: {
|
||||
packageOverrides = pySelf: pySuper: {
|
||||
bson = pySelf.callPackage ./bson { };
|
||||
|
||||
catkin-pkg = pySelf.callPackage ./catkin-pkg { };
|
||||
|
||||
colcon-cmake = pySelf.callPackage ./colcon/cmake.nix { };
|
Loading…
Add table
Add a link
Reference in a new issue