mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
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>
37 lines
775 B
Nix
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;
|
|
};
|
|
}
|