Newest at the top
2025-01-08 16:57:03 +0100 | <sm> | do you know the earliest version of cabal-install that supports that ? |
2025-01-08 16:55:49 +0100 | <sm> | hseg: good to know, thanks! |
2025-01-08 16:55:23 +0100 | <yushyin> | glad to see that cabal adopted spdx ids |
2025-01-08 16:52:03 +0100 | <hseg> | it can! license: GPL-3.0-or-later |
2025-01-08 16:51:23 +0100 | <hseg> | sm: that's true of hledger, and makes my life easier |
2025-01-08 16:51:08 +0100 | <hseg> | 2) as mentioned above -- some licenses require distributing their copyright notices, it is insufficient to have a report saying "I depend on the BSD-licensed foo package" |
2025-01-08 16:50:58 +0100 | <sm> | and for the record it's GPLv3+ (cabal format can't express that IIRC) |
2025-01-08 16:50:39 +0100 | <sm> | hledger itself is the only GPL thing (!) |
2025-01-08 16:50:33 +0100 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
2025-01-08 16:49:55 +0100 | <hseg> | two problems. 1) non-canonical license names -- am seeing BSD2, BSD-2. That's OK, but with GPL there's a significant difference between GPL3 and GPL3+ which needs to be reflected |
2025-01-08 16:49:46 +0100 | <sm> | stack ls dependencies --license | awk '{print $2 " " $1}' | sed -E 's/(BSD|GPL)-/\1/' | sort |
2025-01-08 16:47:45 +0100 | <sm> | group them by license, then add the texts ? |
2025-01-08 16:47:29 +0100 | <sm> | stack ls dependencies --license looks excellent, isn't that a good starting point ? |
2025-01-08 16:46:29 +0100 | <hseg> | problem is that that doesn't really satisfy obligations |
2025-01-08 16:46:17 +0100 | <hseg> | yeah. Or I was thinking of installing something like https://hackage.haskell.org/package/src/example/cabal-plan.html next to hledger's LICENSE file |
2025-01-08 16:45:45 +0100 | <sm> | that sounds nice |
2025-01-08 16:45:08 +0100 | <merijn> | hseg: having a --about or --licenses that prints out all licenses seems the most correct way to comply |
2025-01-08 16:44:01 +0100 | <hseg> | s/a top-level dep/the package I'm building/ |
2025-01-08 16:43:42 +0100 | <hseg> | at least it's a top-level dep |
2025-01-08 16:43:35 +0100 | <hseg> | Ah, dammit -- hledger *is* GPL |
2025-01-08 16:43:16 +0100 | <hseg> | binary |
2025-01-08 16:43:09 +0100 | <merijn> | Do you have a library or a binary? |
2025-01-08 16:42:54 +0100 | <merijn> | hseg: I mean, that's pretty much the way to go, tbh |
2025-01-08 16:42:34 +0100 | <hseg> | Still, that's better than stack ls dependencies --license which just gives the author's spelling of their licenses |
2025-01-08 16:42:06 +0100 | <hseg> | Which looks official and nice, but given BSD, MIT, ISC all require you to distribute their copyright notices, is still slightly off what's technically needed |
2025-01-08 16:41:01 +0100 | <hseg> | Yup -- cabal plan license-report |
2025-01-08 16:40:44 +0100 | <merijn> | hseg: btw, I vaguelly recall cabal-plan having a command for collecting all transitive dependencies |
2025-01-08 16:40:08 +0100 | <merijn> | hseg: Realistically, if you ship GPL in a binary you're already kinda hosed :p |
2025-01-08 16:37:04 +0100 | saulosilva | (~saulosilv@181.216.220.21) (Quit: Client closed) |
2025-01-08 16:29:43 +0100 | <hseg> | Fair enough. The topic came to mind because Arch just started demanding packaging files be licensed, and the train of thought got me there |
2025-01-08 16:28:33 +0100 | <haskellbridge> | <magic_rb> Especially if your project is also free software |
2025-01-08 16:28:17 +0100 | <haskellbridge> | <magic_rb> Realistically no one does this, so unless youve a very good reason to do it, i wouldnt worry about it |
2025-01-08 16:22:06 +0100 | <hseg> | (at least for those dependencies that require distribution of their license, eg MIT, BSD-n with n>=2, GPL, ...) |
2025-01-08 16:21:01 +0100 | <hseg> | presumably, I'd need to have a directory LICENSES/$dep ? |
2025-01-08 16:20:17 +0100 | <hseg> | I mean, I already distribute the top-level package's LICENSE file in the tarball |
2025-01-08 16:19:16 +0100 | <merijn> | hseg: Generally they require an "About" function in the binary with the licenses |
2025-01-08 16:18:51 +0100 | <merijn> | hseg: That depends on said licenses |
2025-01-08 16:17:45 +0100 | <hseg> | Just realized a potential legal problem with distributing statically-linked haskell code -- how am I supposed to comply with the obligation to distribute the licenses for all the dependencies? |
2025-01-08 16:16:56 +0100 | l__k | (~student@217.107.124.218) (Ping timeout: 252 seconds) |
2025-01-08 16:16:38 +0100 | hseg | (~gesh@46.120.21.249) hseg |
2025-01-08 16:15:03 +0100 | saulosilva | (~saulosilv@181.216.220.21) saulosilva |
2025-01-08 16:14:02 +0100 | l_k | (~student@81.177.126.233) |
2025-01-08 16:12:44 +0100 | l_k | (~student@85.172.77.82) (Ping timeout: 265 seconds) |
2025-01-08 16:09:41 +0100 | l__k | (~student@217.107.124.218) |
2025-01-08 16:01:15 +0100 | lxsameer | (~lxsameer@Serene/lxsameer) (Ping timeout: 244 seconds) |
2025-01-08 16:00:55 +0100 | JuanDaugherty | (~juan@user/JuanDaugherty) JuanDaugherty |
2025-01-08 15:53:18 +0100 | mari70558 | (~mari-este@user/mari-estel) () |
2025-01-08 15:46:17 +0100 | merijn | (~merijn@77.242.116.146) merijn |
2025-01-08 15:38:11 +0100 | gmg | (~user@user/gehmehgeh) gehmehgeh |
2025-01-08 15:36:14 +0100 | mari-estel | (~mari-este@user/mari-estel) (Ping timeout: 245 seconds) |