1 { stdenv, lib, fetchFromGitHub, fetchpatch, cmake }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "1w31pjiyshqgk6zd6m3ab3xfgb0ribi77r6fwrry2aw8w1adjknf";
16 name = "pystring-cmake-configuration.patch";
17 url = "https://github.com/imageworks/pystring/commit/4f653fc35421129eae8a2c424901ca7170059370.patch";
18 sha256 = "1hynzz76ff4vvmi6kwixsmjswkpyj6s4vv05d7nw0zscj4cdp8k3";
22 nativeBuildInputs = [ cmake ];
27 homepage = "https://github.com/imageworks/pystring/";
28 description = "A collection of C++ functions which match the interface and behavior of python's string class methods using std::string";
29 license = licenses.bsd3;
30 maintainers = [ maintainers.rytone ];
31 platforms = platforms.unix;