mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-02-13 02:40:20 +01:00
pkgs: Add msbt tools
This commit is contained in:
parent
2da91ef71d
commit
129b9c193e
2 changed files with 38 additions and 0 deletions
|
|
@ -21,6 +21,8 @@
|
|||
sarc = pkgs.callPackage ./sarc.nix { inherit rstb; };
|
||||
rstb = pkgs.callPackage ./rstb.nix { inherit oead; };
|
||||
oead = pkgs.callPackage ./oead.nix { };
|
||||
msbt = pkgs.python3.pkgs.callPackage ./msbt.nix { };
|
||||
msbt-python = pkgs.python3.withPackages (_: [ msbt ]);
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
36
pkgs/msbt.nix
Normal file
36
pkgs/msbt.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
wheel,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pymsbt";
|
||||
version = "1.0.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "p1gyy";
|
||||
repo = "pymsbt";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-LP+9SKbvDnjd5jxZYUKIqyJUp96Ee71ndkoQ6oceoJg=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pymsbt"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "A python library for parsing and editing .msbt files";
|
||||
homepage = "https://github.com/p1gyy/pymsbt";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue