summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/py/pystring/package.nix
blob: 1e65ec0efaca16cb3d31ef55410a4beae3592832 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
  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;
  };
}