Files
nixpkgs/pkgs/by-name/py/pystring/package.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

37 lines
775 B
Nix

{
stdenv,
lib,
fetchFromGitHub,
meson,
ninja,
pkg-config,
}:
stdenv.mkDerivation {
pname = "pystring";
version = "1.1.4-unstable-2025-10-07";
src = fetchFromGitHub {
owner = "imageworks";
repo = "pystring";
rev = "a09708a4870db7862e1a1aa42658c8e6e36547e7";
hash = "sha256-S43OkXcOCzPds2iDLunqg9a1zOiODo2dB9ReuOfe7Bw=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
];
doCheck = true;
meta = {
homepage = "https://github.com/imageworks/pystring/";
description = "Collection of C++ functions which match the interface and behavior of python's string class methods using std::string";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.rytone ];
platforms = lib.platforms.unix;
};
}