1 { lib, newScope, fetchFromGitHub, unzip, stdenvNoCC }:
4 version = "unstable-2023-01-26";
7 description = "Data repository for seaborn examples";
8 homepage = "https://github.com/mwaskom/seaborn-data";
9 platforms = platforms.all;
10 maintainers = with maintainers; [ mbalatsko ];
13 makeSeabornDataPackage = {pname, hash}:
15 src = fetchFromGitHub {
17 repo = "seaborn-data";
18 rev = "2b29313169bf8dfa77d8dc930f7bd3eba559a906";
20 sparseCheckout = [ "${pname}.csv" ];
23 stdenvNoCC.mkDerivation (base // {
25 version = base.version;
30 cp ${pname}.csv $out/${pname}.csv
36 lib.makeScope newScope (self: {
37 exercise = makeSeabornDataPackage ({
39 hash = "sha256-icoc2HkG303A8hCoW6kZxD5qhOKIpdxErLr288o04wE=";